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


Performing analysis on: 4FGL_J0922.6+4454_daily_bin1202
RA = 140.659, Dec = 44.9131
tmin = 550886401, tmax = 551145601
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='167928', job_status='RUN', time_executed='2021-08-31 08:48:51.836787', time_epoch_executed='1630424931.84' WHERE source_name='4FGL J0922.6+4454' and cadence='daily' and bin_id='1202'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/167928

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/167928/ft1_4FGL_J0922.6+4454_daily_bin1202.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/167928/ft2_4FGL_J0922.6+4454_daily_bin1202.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/167928/ft1_4FGL_J0922.6+4454_daily_bin1202.fits outfile=/scratch/kocevski/167928/ft1_filteredMKT_4FGL_J0922.6+4454_daily_bin1202.fits ra=140.659 dec=44.9131 rad=12.0 tmin=550886401.0 tmax=551145601.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.05
user 3.52
sys 0.44

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/167928/ft2_4FGL_J0922.6+4454_daily_bin1202.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/167928/ft1_filteredMKT_4FGL_J0922.6+4454_daily_bin1202.fits evtable="EVENTS" outfile="/scratch/kocevski/167928/ft1_filtered_4FGL_J0922.6+4454_daily_bin1202.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.73
user 0.32
sys 0.39

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/167928/ft1_filtered_4FGL_J0922.6+4454_daily_bin1202.fits" evtable="EVENTS" scfile=/scratch/kocevski/167928/ft2_4FGL_J0922.6+4454_daily_bin1202.fits sctable="SC_DATA" outfile=/scratch/kocevski/167928/ltcube_550886401_551145601_4FGL_J0922.6+4454_daily_bin1202.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/167928/ft2_4FGL_J0922.6+4454_daily_bin1202.fits
.....................!
real 12.37
user 11.71
sys 0.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/167928/ft1_filtered_4FGL_J0922.6+4454_daily_bin1202.fits evtable="EVENTS" scfile=/scratch/kocevski/167928/ft2_4FGL_J0922.6+4454_daily_bin1202.fits sctable="SC_DATA" expcube=/scratch/kocevski/167928/ltcube_550886401_551145601_4FGL_J0922.6+4454_daily_bin1202.fits outfile=/scratch/kocevski/167928/expmap_550886401_551145601_4FGL_J0922.6+4454_daily_bin1202.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/167928/ltcube_550886401_551145601_4FGL_J0922.6+4454_daily_bin1202.fits
.....................!
real 190.26
user 185.09
sys 4.55

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/167928/ft1_filtered_4FGL_J0922.6+4454_daily_bin1202.fits scfile=/scratch/kocevski/167928/ft2_4FGL_J0922.6+4454_daily_bin1202.fits outfile=/scratch/kocevski/167928/cmap_550886401_551145601_4FGL_J0922.6+4454_daily_bin1202.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.77
user 0.39
sys 0.35

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/167928/ft1_filtered_4FGL_J0922.6+4454_daily_bin1202.fits scfile=/scratch/kocevski/167928/ft2_4FGL_J0922.6+4454_daily_bin1202.fits outfile=/scratch/kocevski/167928/cmap_HighResolution_550886401_551145601_4FGL_J0922.6+4454_daily_bin1202.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.77
user 0.37
sys 0.38

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2818       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .96424       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .14146E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12077E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .80021       1.0000         .10000E-03   10000.    
     7 'norm      '    6.1793       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10438E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.4460       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11061E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11190E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.2574       1.0000         .10000E-03   10000.    
    18 'norm      '    .10252E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .66132       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.1384       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10700E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    1.9834       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .58290E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    5.4720       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .88698       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .96473       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=   2234.185     FROM MIGRAD    STATUS=CONVERGED    892 CALLS     4565 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2830        1.4831        .56977E-07    .60692E-03
   2  Prefactor     .10000E-03    10.142        .30233E-06** at limit **
   3  Prefactor     .77321        100.40       -.20597E-04    .21719E-03
   4  Prefactor     .10000E-03    42.878       -.56937E-06** at limit **
   5  Prefactor     .10000E-03    36.438        .12429E-05** at limit **
   6  norm          .79262        14.668        .61010E-06    .26361E-05
   7  norm          6.1709        16.478        .12913E-05   -.36926E-04
   8  Prefactor     .10000E-03    31.760       -.12830E-05** at limit **
   9  Prefactor     .10000E-03    2.5184       -.36392E-07** at limit **
  10  Prefactor     .10000E-03    35.607        .10523E-05** at limit **
  11  Prefactor     .10000E-03    44.505       -.13774E-05** at limit **
  12  Prefactor     1.4424        5.7498        .80432E-05    .56093E-03
  13  Prefactor     .10000E-03    37.738        .15729E-05** at limit **
  14  Prefactor     .10000E-03    1.9052       -.22507E-07** at limit **
  15  Prefactor     .10000E-03    15.188        .12604E-06** at limit **
  16  norm          .10000E-03    1.4223       -.24041E-06** at limit **
  17  Prefactor     6.2556        7.2565        .42184E-06    .57880E-03
  18  norm          .10000E-03    6.6282       -.38166E-07** at limit **
  19  Prefactor     .66052        2.8278        .16519E-06    .66752E-04
  20  Prefactor     .10000E-03    8.0991        .10883E-06** at limit **
  21  Prefactor     8.1370        7.8875        .17073E-06    .13151E-03
  22  Prefactor     .10000E-03    14.485       -.69391E-06** at limit **
  23  norm          .10000E-03    9.4707        .10459E-06** at limit **
  24  Prefactor     .10000E-03    14.771       -.33213E-06** at limit **
  25  Prefactor     .10000E-03    8.9970       -.41965E-06** at limit **
  26  Prefactor     .10000E-03    16.043        .91419E-06** at limit **
  27  norm          .10000E-03    .48255       -.88921E-08** at limit **
  28  norm          .10000E-03    31.374       -.12968E-05** at limit **
  29  Prefactor     1.9805        8.0445        .83059E-06    .10472E-03
  30  Prefactor     .10000E-03    207.88       -.12847E-04** at limit **
  31  norm          5.4696        4.7211        .22300E-07    .65758E-04
  32  Normalizat    .88728        .25390       -.87599E-06    .50276E-03
  33  Prefactor     .96489        .26671       -.51714E-07    .40001E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.28296
  Prefactor  = 0.0001
  Prefactor  = 0.773214
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.792622
  norm       = 6.17089
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.44243
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.25559
  norm       = 0.0001
  Prefactor  = 0.660517
  Prefactor  = 0.0001
  Prefactor  = 8.13705
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.98046
  Prefactor  = 0.0001
  norm       = 5.46959
  Normalizat = 0.887277
  Prefactor  = 0.964886
 **********
 **   18 **HESSE 
 **********

 FCN=   2234.185     FROM HESSE     STATUS=OK           685 CALLS     5250 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2830        1.4894        .44161E-04   -1.5406    
   2  Prefactor     .10000E-03    10.149        .14702E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .77321        671.25        .68226E-02   -1.5532    
   4  Prefactor     .10000E-03    43.546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    36.868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .79262        62.719        .30852E-02   -1.5530    
   7  norm          6.1709        16.403        .80748E-03   -1.5211    
   8  Prefactor     .10000E-03    31.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.5285        .73190E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    35.646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    44.517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.4424        6.0786        .10993E-02   -1.5468    
  13  Prefactor     .10000E-03    37.765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.9092        .63684E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    15.207        .17993E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.0645        .88997E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.2556        6.0007        .10398E-03   -1.5208    
  18  norm          .10000E-03    6.6635        .11883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .66052        2.7155        .15008E-03   -1.5545    
  20  Prefactor     .10000E-03    8.1049        .13139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     8.1370        7.8960        .12471E-03   -1.5137    
  22  Prefactor     .10000E-03    14.495        .17576E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    9.4720        .14209E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    14.777        .17747E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    9.0588        .13835E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    16.048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    .48473        .32059E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    31.614        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     1.9805        8.0062        .25586E-03   -1.5427    
  30  Prefactor     .10000E-03    208.02        .21079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          5.4696        4.7180        .92687E-04   -1.5240    
  32  Normalizat    .88728        .28946        .23601E-03   -.96909    
  33  Prefactor     .96489        .30633        .24590E-03   -.93909    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38099e-08
Minuit parameter uncertainties:
  1  1.48941
  2  1.8408e-05
  3  46.0888
  4  0.000172092
  5  1.28677e-05
  6  14.1158
  7  16.4151
  8  0.00010493
  9  2.84265e-06
  10  4.89081e-05
  11  0.000112032
  12  5.92297
  13  9.0415e-05
  14  1.56592e-06
  15  5.90558e-06
  16  2.28694e-05
  17  6.00125
  18  7.73416e-06
  19  2.67854
  20  8.3444e-07
  21  7.89705
  22  3.41254e-05
  23  3.21081e-06
  24  1.55272e-05
  25  1.79989e-05
  26  4.39149e-05
  27  4.56853e-07
  28  6.33993e-05
  29  7.96557
  30  0.000602375
  31  4.71829
  32  0.289969
  33  0.306881
Done.

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

Extracting fit parameters...

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  6.256e+00  6.001e+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.649e-01  3.069e-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:  8.873e-01  2.900e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.52
Ra Dec: 140.659 44.913
Photon Index (Fixed Index): 2.87 +/- 0.00
Photon Flux (Fixed Index): 1.04e-07 +/- 1.00e-07
Energy Flux (Fixed Index): 2.24e-05 +/- 2.14e-05

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

Saving results to:
/scratch/kocevski/167928/likelihoodResults_550886401_551145601_4FGL_J0922.6+4454_daily_bin1202.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) = 2234.18462631
delta logL = 0.000661740432406

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2234.18378766
delta logL = 0.00150038946458

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5885       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8187       1.0000          .0000       10.000    
     3 'Normalizat'    .88940       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96296       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=   2234.184     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      227 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.5872        9.1424        .10700E-03    .10060E-02
   2  Index         2.8194        .96660        .55104E-02    .19369E-03
   3  Normalizat    .88951        .28106        .23575E-03   -.29257E-03
   4  Prefactor     .96299        .29801        .24610E-03   -.31568E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.58725
  Index      = 2.81936
  Normalizat = 0.889508
  Prefactor  = 0.962994
 **********
 **   18 **HESSE 
 **********

 FCN=   2234.184     FROM HESSE     STATUS=OK            23 CALLS      250 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.5872        8.6167        .42798E-05   -1.5195    
   2  Index         2.8194        .91080        .22042E-03   -.45129    
   3  Normalizat    .88951        .28117        .47151E-04   -.96830    
   4  Prefactor     .96299        .29798        .49219E-04   -.93973    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35776e-09
Minuit parameter uncertainties:
  1  8.61828
  2  0.917138
  3  0.281629
  4  0.298493
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/167928': 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) = 2234.18378656
delta logL = 0.00150148765715

Extracting fit parameters...

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  6.587e+00  8.618e+00  1.000e-04  1.000e+04 ( 1.000e-12)
325        Index:  2.819e+00  9.171e-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.630e-01  2.985e-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:  8.895e-01  2.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.51
Ra Dec: 140.659 44.913
Photon Index (Free Index): 2.82 +/- 0.92
Photon Flux (Free Index): 1.02e-07 +/- 1.06e-07
Energy Flux (Free Index): 2.26e-05 +/- 2.17e-05

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/167928/cmap_HighResolution_550886401_551145601_4FGL_J0922.6+4454_daily_bin1202.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.48e-02', comment='SUCCESS', photon_flux='1.04e-07', energy_flux2='2.26e-05', photon_flux_error='1.00e-07', dlogl='1.50e-03', energy_flux='2.24e-05', photon_flux2='1.02e-07', job_status='DONE', time_completed='2021-08-31 08:58:39.217809', photon_index_error2='0.92', photon_index2='2.82', ts='1.52', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='3.12e-07', energy_flux_error2='2.17e-05', EG='0.89', time_epoch_completed='1630425519.22', return_code='0', job_id='167928', GAL2='0.96', EG2='0.89', return_code2='0', energy_flux_error='2.14e-05', photon_flux_error2='1.06e-07', ts2='1.51', photon_index='2.87' WHERE bin_id='1202' AND source_name='4FGL J0922.6+4454' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:58:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 167928: <4FGL_J0922.6+4454_daily_bin1202> in cluster <slac> Done

Job <4FGL_J0922.6+4454_daily_bin1202> 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) <bullet0225>, 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:58:40 2021
Results reported at Tue Aug 31 08:58:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+4454_daily_bin1202 140.659 44.9131 550886401 551145601 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 :                                   586.21 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             254.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            796 sec.

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

