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


Performing analysis on: 4FGL_J0922.6+0434_daily_bin873
RA = 140.667, Dec = 4.5781
tmin = 465609601, tmax = 465868801
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='156768', job_status='RUN', time_executed='2021-08-31 08:14:45.014275', time_epoch_executed='1630422885.01' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='873'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/156768

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/156768/ft1_4FGL_J0922.6+0434_daily_bin873.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/156768/ft2_4FGL_J0922.6+0434_daily_bin873.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/156768/ft1_4FGL_J0922.6+0434_daily_bin873.fits outfile=/scratch/kocevski/156768/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin873.fits ra=140.667 dec=4.5781 rad=12.0 tmin=465609601.0 tmax=465868801.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.78
user 3.30
sys 1.02

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/156768/ft2_4FGL_J0922.6+0434_daily_bin873.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/156768/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin873.fits evtable="EVENTS" outfile="/scratch/kocevski/156768/ft1_filtered_4FGL_J0922.6+0434_daily_bin873.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 1.73
user 0.33
sys 0.98

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/156768/ft1_filtered_4FGL_J0922.6+0434_daily_bin873.fits" evtable="EVENTS" scfile=/scratch/kocevski/156768/ft2_4FGL_J0922.6+0434_daily_bin873.fits sctable="SC_DATA" outfile=/scratch/kocevski/156768/ltcube_465609601_465868801_4FGL_J0922.6+0434_daily_bin873.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/156768/ft2_4FGL_J0922.6+0434_daily_bin873.fits
.....................!
real 15.77
user 14.30
sys 1.14

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/156768/ft1_filtered_4FGL_J0922.6+0434_daily_bin873.fits evtable="EVENTS" scfile=/scratch/kocevski/156768/ft2_4FGL_J0922.6+0434_daily_bin873.fits sctable="SC_DATA" expcube=/scratch/kocevski/156768/ltcube_465609601_465868801_4FGL_J0922.6+0434_daily_bin873.fits outfile=/scratch/kocevski/156768/expmap_465609601_465868801_4FGL_J0922.6+0434_daily_bin873.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/156768/ltcube_465609601_465868801_4FGL_J0922.6+0434_daily_bin873.fits
.....................!
real 191.23
user 184.85
sys 5.77

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/156768/ft1_filtered_4FGL_J0922.6+0434_daily_bin873.fits scfile=/scratch/kocevski/156768/ft2_4FGL_J0922.6+0434_daily_bin873.fits outfile=/scratch/kocevski/156768/cmap_465609601_465868801_4FGL_J0922.6+0434_daily_bin873.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 1.38
user 0.37
sys 0.97

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/156768/ft1_filtered_4FGL_J0922.6+0434_daily_bin873.fits scfile=/scratch/kocevski/156768/ft2_4FGL_J0922.6+0434_daily_bin873.fits outfile=/scratch/kocevski/156768/cmap_HighResolution_465609601_465868801_4FGL_J0922.6+0434_daily_bin873.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 1.35
user 0.37
sys 0.97

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/156768/ft1_filtered_4FGL_J0922.6+0434_daily_bin873.fits', '/scratch/kocevski/156768/ft2_4FGL_J0922.6+0434_daily_bin873.fits', expMap='/scratch/kocevski/156768/expmap_465609601_465868801_4FGL_J0922.6+0434_daily_bin873.fits', expCube='/scratch/kocevski/156768/ltcube_465609601_465868801_4FGL_J0922.6+0434_daily_bin873.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/156768/Model_4FGL_J0922.6+0434_daily_bin873.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/156768/ft1_filtered_4FGL_J0922.6+0434_daily_bin873.fits
Spacecraft file(s): /scratch/kocevski/156768/ft2_4FGL_J0922.6+0434_daily_bin873.fits
Exposure map: /scratch/kocevski/156768/expmap_465609601_465868801_4FGL_J0922.6+0434_daily_bin873.fits
Exposure cube: /scratch/kocevski/156768/ltcube_465609601_465868801_4FGL_J0922.6+0434_daily_bin873.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/156768/Model_4FGL_J0922.6+0434_daily_bin873.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) = 5333.44471361

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11731E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.4671       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .11733E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.9036       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.9549       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .45793E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    3.0153       1.0000         .10000E-03   10000.    
    10 'norm      '    .20035       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.255       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.1165       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .87579       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=   5333.295     FROM MIGRAD    STATUS=CONVERGED    247 CALLS     1013 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.9189        .89316E-07** at limit **
   2  norm          5.4672        5.3718       -.28217E-05    .13048E-03
   3  norm          .10000E-03    4.4657        .49741E-07** at limit **
   4  norm          .10000E-03    4.7486       -.98320E-06** at limit **
   5  Prefactor     2.8771        24.499        .22254E-04   -.53442E-04
   6  Prefactor     3.9541        4.5958       -.19116E-06   -.34283E-03
   7  Prefactor     .10000E-03    14.349       -.65906E-07** at limit **
   8  Prefactor     .10020E-03    8.1833       -.86636E-06** at limit **
   9  norm          3.0152        1.5351        .51701E-07   -.11663E-03
  10  norm          .20036        .51193       -.22162E-06   -.20383E-02
  11  Prefactor     17.254        12.370        .38641E-06    .54358E-05
  12  Normalizat    1.1166        .18942       -.11991E-05    .16394E-03
  13  Prefactor     .87571        .14899        .74637E-07    .59877E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  norm       = 5.46716
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 2.87711
  Prefactor  = 3.9541
  Prefactor  = 0.0001
  Prefactor  = 0.000100199
  norm       = 3.01522
  norm       = 0.200362
  Prefactor  = 17.2544
  Normalizat = 1.11659
  Prefactor  = 0.875711
 **********
 **   18 **HESSE 
 **********

 FCN=   5333.295     FROM HESSE     STATUS=OK           153 CALLS     1166 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    25.167        .31265E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.4672        5.3543        .16302E-03   -1.5240    
   3  norm          .10000E-03    4.6724        .30094E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    15.020        .30674E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.8771        23.252        .23846E-03   -1.5369    
   6  Prefactor     3.9541        4.5888        .15728E-03   -1.5310    
   7  Prefactor     .10000E-03    14.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10020E-03    99.791        .39800E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.0152        1.5354        .61241E-04   -1.5361    
  10  norm          .20036        .50359        .79043E-04   -1.5618    
  11  Prefactor     17.254        12.371        .96419E-04   -1.4877    
  12  Normalizat    1.1166        .21964        .24057E-03   -.89221    
  13  Prefactor     .87571        .17508        .22080E-03   -.96995    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74984e-09
Minuit parameter uncertainties:
  1  0.000262427
  2  5.35481
  3  6.59499e-06
  4  0.000187111
  5  16.3666
  6  4.58917
  7  8.78052e-05
  8  0.00892965
  9  1.53541
  10  0.503599
  11  12.3725
  12  0.219818
  13  0.175189
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  3.954e+00  4.589e+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:  8.757e-01  1.752e-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:  1.117e+00  2.198e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/156768/likelihoodResults_465609601_465868801_4FGL_J0922.6+0434_daily_bin873.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) = 5332.70500936
delta logL = 0.590482632428

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5332.65480106
delta logL = 0.640690932963

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    8.7473       1.0000          .0000       10.000    
     3 'Normalizat'    1.0497       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92804       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=   5332.655     FROM MIGRAD    STATUS=CONVERGED    145 CALLS      610 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .30628E-02    .32604E-03** at limit **
   2  Index         8.7510        7.3664        .18823        .13680E-03
   3  Normalizat    1.0495        .50589E-01    .40573E-01   -.24694E-03
   4  Prefactor     .92809        .41358E-01    .45361E-01   -.40537E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 8.75101
  Normalizat = 1.04952
  Prefactor  = 0.928091
 **********
 **   18 **HESSE 
 **********

 FCN=   5332.655     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      647 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .26083E-01    .13824E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.7510        8.6457        .79426E-02    .84837    
   3  Normalizat    1.0495        .11721        .24689E-03   -.91389    
   4  Prefactor     .92809        .96181E-01    .21536E-03   -.95166    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.68896e-09
Minuit parameter uncertainties:
  1  7.91433e-07
  2  5.4058
  3  0.117239
  4  0.0961989
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/156768': 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) = 5332.65477059
delta logL = 0.640721404395

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  7.914e-07  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  8.751e+00  5.406e+00  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:  9.281e-01  9.620e-02  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:  1.050e+00  1.172e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.35
Ra Dec: 140.667 4.578
Photon Index (Free Index): 8.75 +/- 5.41
Photon Flux (Free Index): 7.89e-08 +/- 7.98e-07
Energy Flux (Free Index): 9.01e-06 +/- 9.07e-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/156768/cmap_HighResolution_465609601_465868801_4FGL_J0922.6+0434_daily_bin873.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.14e-02', comment='SUCCESS', energy_flux2='9.01e-06', dlogl='6.41e-01', photon_flux2='7.89e-08', job_status='DONE', time_completed='2021-08-31 08:22:38.291356', photon_index_error2='5.41', photon_index2='8.75', ts='0.92', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.47e-07', energy_flux_error2='9.07e-05', EG='1.12', time_epoch_completed='1630423358.29', return_code='0', job_id='156768', GAL2='0.93', EG2='1.05', return_code2='102', photon_flux_error2='7.98e-07', ts2='2.35', photon_index='2.49' WHERE bin_id='873' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:22:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 156768: <4FGL_J0922.6+0434_daily_bin873> in cluster <slac> Done

Job <4FGL_J0922.6+0434_daily_bin873> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Aug 31 08:11:30 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 08:11:31 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:11:31 2021
Terminated at Tue Aug 31 08:22:38 2021
Results reported at Tue Aug 31 08:22:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin873 140.667 4.5781 465609601 465868801 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 :                                   478.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             255.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   667 sec.
    Turnaround time :                            668 sec.

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

