/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


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


Performing analysis on: 4FGL_J0922.6+0434_daily_bin404
RA = 140.667, Dec = 4.5781
tmin = 344044801, tmax = 344304001
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='153167', job_status='RUN', time_executed='2021-08-31 08:02:39.977089', time_epoch_executed='1630422159.98' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='404'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/153167

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/153167/ft1_4FGL_J0922.6+0434_daily_bin404.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/153167/ft2_4FGL_J0922.6+0434_daily_bin404.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/153167/ft1_4FGL_J0922.6+0434_daily_bin404.fits outfile=/scratch/kocevski/153167/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin404.fits ra=140.667 dec=4.5781 rad=12.0 tmin=344044801.0 tmax=344304001.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.68
user 3.18
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/153167/ft2_4FGL_J0922.6+0434_daily_bin404.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/153167/ft2_4FGL_J0922.6+0434_daily_bin404.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/153167/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin404.fits evtable="EVENTS" outfile="/scratch/kocevski/153167/ft1_filtered_4FGL_J0922.6+0434_daily_bin404.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.61
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/153167/ft1_filtered_4FGL_J0922.6+0434_daily_bin404.fits" evtable="EVENTS" scfile=/scratch/kocevski/153167/ft2_4FGL_J0922.6+0434_daily_bin404.fits sctable="SC_DATA" outfile=/scratch/kocevski/153167/ltcube_344044801_344304001_4FGL_J0922.6+0434_daily_bin404.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/153167/ft2_4FGL_J0922.6+0434_daily_bin404.fits
.....................!
real 12.02
user 11.66
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/153167/ft1_filtered_4FGL_J0922.6+0434_daily_bin404.fits evtable="EVENTS" scfile=/scratch/kocevski/153167/ft2_4FGL_J0922.6+0434_daily_bin404.fits sctable="SC_DATA" expcube=/scratch/kocevski/153167/ltcube_344044801_344304001_4FGL_J0922.6+0434_daily_bin404.fits outfile=/scratch/kocevski/153167/expmap_344044801_344304001_4FGL_J0922.6+0434_daily_bin404.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/153167/ltcube_344044801_344304001_4FGL_J0922.6+0434_daily_bin404.fits
.....................!
real 189.47
user 185.14
sys 3.76

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

Setting source of interest to:
4FGL J0922.6+0434 @ 140.667 4.5781

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/153167/ft1_filtered_4FGL_J0922.6+0434_daily_bin404.fits scfile=/scratch/kocevski/153167/ft2_4FGL_J0922.6+0434_daily_bin404.fits outfile=/scratch/kocevski/153167/cmap_344044801_344304001_4FGL_J0922.6+0434_daily_bin404.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.667 yref=4.5781 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.53
user 0.41
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/153167/ft1_filtered_4FGL_J0922.6+0434_daily_bin404.fits scfile=/scratch/kocevski/153167/ft2_4FGL_J0922.6+0434_daily_bin404.fits outfile=/scratch/kocevski/153167/cmap_HighResolution_344044801_344304001_4FGL_J0922.6+0434_daily_bin404.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.667 yref=4.5781 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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/153167/ft1_filtered_4FGL_J0922.6+0434_daily_bin404.fits evtable="EVENTS" scfile=/scratch/kocevski/153167/ft2_4FGL_J0922.6+0434_daily_bin404.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/153167/Model_4FGL_J0922.6+0434_daily_bin404.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/153167/ft1_filtered_4FGL_J0922.6+0434_daily_bin404.fits.....................!
real 73.00
user 71.65
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/153167/ft1_filtered_4FGL_J0922.6+0434_daily_bin404.fits', '/scratch/kocevski/153167/ft2_4FGL_J0922.6+0434_daily_bin404.fits', expMap='/scratch/kocevski/153167/expmap_344044801_344304001_4FGL_J0922.6+0434_daily_bin404.fits', expCube='/scratch/kocevski/153167/ltcube_344044801_344304001_4FGL_J0922.6+0434_daily_bin404.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/153167/Model_4FGL_J0922.6+0434_daily_bin404.xml', optimizer='MINUIT')

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

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.531e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  2.489e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
238        Scale:  7.737e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/153167/ft1_filtered_4FGL_J0922.6+0434_daily_bin404.fits
Spacecraft file(s): /scratch/kocevski/153167/ft2_4FGL_J0922.6+0434_daily_bin404.fits
Exposure map: /scratch/kocevski/153167/expmap_344044801_344304001_4FGL_J0922.6+0434_daily_bin404.fits
Exposure cube: /scratch/kocevski/153167/ltcube_344044801_344304001_4FGL_J0922.6+0434_daily_bin404.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/153167/Model_4FGL_J0922.6+0434_daily_bin404.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) = 7292.65151817

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5401       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.3307       1.0000         .10000E-03   10000.    
     4 'norm      '    .10345E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.992       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.1538       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .30925E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10257E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .32506       1.0000         .10000E-03   10000.    
    10 'norm      '    .78478       1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.138       1.0000         .10000E-03   10000.    
    12 'Normalizat'    .91777       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.1952       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7292.468     FROM MIGRAD    STATUS=CONVERGED    257 CALLS      988 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5401        7.3780       -.22716E-06   -.51095E-04
   2  norm          .10000E-03    1.6106        .53628E-09** at limit **
   3  norm          4.3306        4.3780        .19532E-05   -.47080E-04
   4  norm          .10000E-03    5.2573        .30520E-07** at limit **
   5  Prefactor     11.010        11.593       -.65583E-06   -.70256E-04
   6  Prefactor     6.1534        4.2946       -.63485E-07    .29645E-04
   7  Prefactor     .10049E-03    18.645       -.23307E-05** at limit **
   8  Prefactor     .10000E-03    18.271       -.19061E-06** at limit **
   9  norm          .32488        .97924        .32728E-06   -.97928E-04
  10  norm          .78476        .50635        .23695E-07    .81235E-04
  11  Prefactor     25.128        14.629       -.12777E-05   -.28440E-03
  12  Normalizat    .91782        .18861       -.11845E-05    .62691E-05
  13  Prefactor     1.1952        .15058        .42568E-06    .91627E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.54011
  norm       = 0.0001
  norm       = 4.33056
  norm       = 0.0001
  Prefactor  = 11.0099
  Prefactor  = 6.15345
  Prefactor  = 0.000100492
  Prefactor  = 0.0001
  norm       = 0.324885
  norm       = 0.784763
  Prefactor  = 25.1277
  Normalizat = 0.917822
  Prefactor  = 1.1952
 **********
 **   18 **HESSE 
 **********

 FCN=   7292.468     FROM HESSE     STATUS=OK           157 CALLS     1145 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5401        7.3656        .25624E-03   -1.5389    
   2  norm          .10000E-03    1.6108        .10584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.3306        4.4104        .85221E-03   -1.5292    
   4  norm          .10000E-03    5.3795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.010        11.611        .12084E-03   -1.5044    
   6  Prefactor     6.1534        4.2934        .13836E-03   -1.5212    
   7  Prefactor     .10049E-03    19.021        .11418       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    18.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .32488        1.1801        .13422E-02   -1.5594    
  10  norm          .78476        .49231        .46451E-04   -1.5531    
  11  Prefactor     25.128        14.682        .79896E-04   -1.4705    
  12  Normalizat    .91782        .21180        .28406E-03   -.95837    
  13  Prefactor     1.1952        .17274        .21269E-03   -.86479    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02081e-08
Minuit parameter uncertainties:
  1  7.3682
  2  3.71558e-07
  3  4.41071
  4  1.93201e-06
  5  11.6136
  6  4.29364
  7  0.0061212
  8  3.85783e-05
  9  1.18022
  10  0.492309
  11  14.6839
  12  0.21199
  13  0.172824
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  6.153e+00  4.294e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  2.489e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
238        Scale:  7.737e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
461    Prefactor:  1.195e+00  1.728e-01  0.000e+00  1.000e+01 ( 1.000e+00)
462        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
463        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
460   Normalization:  9.178e-01  2.120e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.02
Ra Dec: 140.667 4.578
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 6.73e-08 +/- 4.69e-08
Energy Flux (Fixed Index): 1.98e-05 +/- 1.38e-05

TS (Fixed Index): 3.02
Ra Dec: 140.667 4.578
Photon Flux Upper Limit: 1.60e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.24e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/153167/likelihoodResults_344044801_344304001_4FGL_J0922.6+0434_daily_bin404.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) = 7292.31522059
delta logL = 0.152410574378

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7292.31170664
delta logL = 0.155924523193

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7292.312     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      265 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4866        54.645        .47528E-02    .50538E-03
   2  Index         2.8778        3.5705        .13142        .15529E-03
   3  Normalizat    .88871        .72103E-01    .65196E-01    .20822E-04
   4  Prefactor     1.2127        .54372E-01    .34333E-01   -.50923E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.48659
  Index      = 2.87785
  Normalizat = 0.888714
  Prefactor  = 1.21274
 **********
 **   18 **HESSE 
 **********

 FCN=   7292.312     FROM HESSE     STATUS=OK            33 CALLS      298 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4866        5.7751        .10789E-03   -1.5284    
   2  Index         2.8778        .91804        .66018E-02   -.43833    
   3  Normalizat    .88871        .21512        .28839E-03   -.96858    
   4  Prefactor     1.2127        .17746        .21137E-03   -.85940    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.27035e-11
Minuit parameter uncertainties:
  1  5.77579
  2  0.92445
  3  0.215328
  4  0.177551
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/153167': 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) = 7292.31170488
delta logL = 0.155926291835

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  4.487e+00  5.776e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  2.878e+00  9.244e-01  0.000e+00  1.000e+01 (-1.000e+00)
238        Scale:  7.737e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
461    Prefactor:  1.213e+00  1.776e-01  0.000e+00  1.000e+01 ( 1.000e+00)
462        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
463        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
460   Normalization:  8.887e-01  2.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.38
Ra Dec: 140.667 4.578
Photon Index (Free Index): 2.88 +/- 0.92
Photon Flux (Free Index): 8.63e-08 +/- 6.04e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.27e-05

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/153167/cmap_HighResolution_344044801_344304001_4FGL_J0922.6+0434_daily_bin404.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e-02', comment='SUCCESS', photon_flux='6.73e-08', energy_flux2='1.84e-05', photon_flux_error='4.69e-08', dlogl='1.56e-01', energy_flux='1.98e-05', photon_flux2='8.63e-08', job_status='DONE', time_completed='2021-08-31 08:10:48.414642', photon_index_error2='0.92', photon_index2='2.88', ts='3.02', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='1.60e-07', energy_flux_error2='1.27e-05', EG='0.92', time_epoch_completed='1630422648.41', return_code='0', job_id='153167', GAL2='1.21', EG2='0.89', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='6.04e-08', ts2='3.38', photon_index='2.49' WHERE bin_id='404' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:10:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 153167: <4FGL_J0922.6+0434_daily_bin404> in cluster <slac> Done

Job <4FGL_J0922.6+0434_daily_bin404> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Aug 31 08:00:40 2021
Job was executed on host(s) <bullet0295>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 08:00:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 08:00:42 2021
Terminated at Tue Aug 31 08:10:49 2021
Results reported at Tue Aug 31 08:10:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin404 140.667 4.5781 344044801 344304001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0922.6+0434 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   482.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             317.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   606 sec.
    Turnaround time :                            609 sec.

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

