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


Performing analysis on: 4FGL_J0922.6+0434_daily_bin887
RA = 140.667, Dec = 4.5781
tmin = 469238401, tmax = 469497601
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='156787', job_status='RUN', time_executed='2021-08-31 08:14:03.860489', time_epoch_executed='1630422843.86' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='887'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/156787

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/156787/ft1_4FGL_J0922.6+0434_daily_bin887.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/156787/ft2_4FGL_J0922.6+0434_daily_bin887.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/156787/ft1_4FGL_J0922.6+0434_daily_bin887.fits outfile=/scratch/kocevski/156787/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin887.fits ra=140.667 dec=4.5781 rad=12.0 tmin=469238401.0 tmax=469497601.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.74
user 3.21
sys 0.51

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/156787/ft2_4FGL_J0922.6+0434_daily_bin887.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/156787/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin887.fits evtable="EVENTS" outfile="/scratch/kocevski/156787/ft1_filtered_4FGL_J0922.6+0434_daily_bin887.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.84
user 0.31
sys 0.48

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/156787/ft1_filtered_4FGL_J0922.6+0434_daily_bin887.fits" evtable="EVENTS" scfile=/scratch/kocevski/156787/ft2_4FGL_J0922.6+0434_daily_bin887.fits sctable="SC_DATA" outfile=/scratch/kocevski/156787/ltcube_469238401_469497601_4FGL_J0922.6+0434_daily_bin887.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/156787/ft2_4FGL_J0922.6+0434_daily_bin887.fits
.....................!
real 12.67
user 11.80
sys 0.64

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/156787/ft1_filtered_4FGL_J0922.6+0434_daily_bin887.fits evtable="EVENTS" scfile=/scratch/kocevski/156787/ft2_4FGL_J0922.6+0434_daily_bin887.fits sctable="SC_DATA" expcube=/scratch/kocevski/156787/ltcube_469238401_469497601_4FGL_J0922.6+0434_daily_bin887.fits outfile=/scratch/kocevski/156787/expmap_469238401_469497601_4FGL_J0922.6+0434_daily_bin887.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/156787/ltcube_469238401_469497601_4FGL_J0922.6+0434_daily_bin887.fits
.....................!
real 190.73
user 185.22
sys 4.98

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/156787/ft1_filtered_4FGL_J0922.6+0434_daily_bin887.fits scfile=/scratch/kocevski/156787/ft2_4FGL_J0922.6+0434_daily_bin887.fits outfile=/scratch/kocevski/156787/cmap_469238401_469497601_4FGL_J0922.6+0434_daily_bin887.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.02
user 0.37
sys 0.45

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/156787/ft1_filtered_4FGL_J0922.6+0434_daily_bin887.fits scfile=/scratch/kocevski/156787/ft2_4FGL_J0922.6+0434_daily_bin887.fits outfile=/scratch/kocevski/156787/cmap_HighResolution_469238401_469497601_4FGL_J0922.6+0434_daily_bin887.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.90
user 0.38
sys 0.45

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.176       1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.3814       1.0000         .10000E-03   10000.    
     4 'norm      '    4.0428       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.164       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.127       1.0000         .10000E-03   10000.    
     7 'Prefactor '    33.466       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10272E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.8716       1.0000         .10000E-03   10000.    
    10 'norm      '    1.9401       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .16653E-02   1.0000         .10000E-03   10000.    
    12 'Normalizat'    .95506       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.1231       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=   7477.814     FROM MIGRAD    STATUS=CONVERGED    220 CALLS     1075 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.175        8.5761        .66029E-06   -.21806E-04
   2  norm          .10000E-03    3.3415       -.14980E-06** at limit **
   3  norm          1.3816        2.2791       -.19867E-06   -.54553E-03
   4  norm          4.0432        4.5141        .10479E-05   -.29140E-03
   5  Prefactor     15.150        23.532       -.21184E-04   -.90037E-04
   6  Prefactor     12.127        4.9960        .11827E-05   -.23064E-03
   7  Prefactor     33.486        46.183        .32233E-04    .31840E-04
   8  Prefactor     .10000E-03    13.214       -.31273E-06** at limit **
   9  norm          2.8718        1.2906        .42922E-07   -.39183E-03
  10  norm          1.9403        .68405       -.14364E-06   -.74733E-03
  11  Prefactor     .10000E-03    11.889        .10831E-05** at limit **
  12  Normalizat    .95496        .18751       -.35833E-05    .23337E-05
  13  Prefactor     1.1233        .14853        .12400E-05   -.23787E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.1751
  norm       = 0.0001
  norm       = 1.38158
  norm       = 4.04321
  Prefactor  = 15.1499
  Prefactor  = 12.1274
  Prefactor  = 33.4861
  Prefactor  = 0.0001
  norm       = 2.87179
  norm       = 1.9403
  Prefactor  = 0.0001
  Normalizat = 0.954958
  Prefactor  = 1.12332
 **********
 **   18 **HESSE 
 **********

 FCN=   7477.814     FROM HESSE     STATUS=OK           151 CALLS     1226 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.175        8.5742        .96640E-04   -1.4879    
   2  norm          .10000E-03    3.3520        .15437E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.3816        2.2411        .16201E-03   -1.5473    
   4  norm          4.0432        4.4967        .18693E-03   -1.5306    
   5  Prefactor     15.150        23.601        .10285E-03   -1.4929    
   6  Prefactor     12.127        4.9921        .11503E-03   -1.5011    
   7  Prefactor     33.486        46.216        .69268E-04   -1.4550    
   8  Prefactor     .10000E-03    13.405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.8718        1.2907        .62975E-04   -1.5369    
  10  norm          1.9403        .68152        .40390E-04   -1.5429    
  11  Prefactor     .10000E-03    62.563        .57054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    .95496        .21492        .29002E-03   -.94555    
  13  Prefactor     1.1233        .17213        .22400E-03   -.88725    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.12506e-10
Minuit parameter uncertainties:
  1  8.57483
  2  2.13049e-06
  3  2.24123
  4  4.49708
  5  23.6159
  6  4.9923
  7  46.2652
  8  5.638e-05
  9  1.2907
  10  0.681519
  11  0.000276659
  12  0.21511
  13  0.172216
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.213e+01  4.992e+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.123e+00  1.722e-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.550e-01  2.151e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.05
Ra Dec: 140.667 4.578
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 1.33e-07 +/- 5.46e-08
Energy Flux (Fixed Index): 3.90e-05 +/- 1.61e-05

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) = 7477.81222927
delta logL = 0.00163159674594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7477.80941568
delta logL = 0.00444518561289

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.572       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5391       1.0000          .0000       10.000    
     3 'Normalizat'    .94880       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1277       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7477.809     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      237 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.573        8.4891        .11307E-03   -.41576E-03
   2  Index         2.5390        .59845        .51729E-02   -.94368E-04
   3  Normalizat    .94880        .21989        .29085E-03    .25907E-03
   4  Prefactor     1.1277        .17953        .22365E-03    .69665E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.5731
  Index      = 2.53904
  Normalizat = 0.948805
  Prefactor  = 1.12766
 **********
 **   18 **HESSE 
 **********

 FCN=   7477.809     FROM HESSE     STATUS=OK            25 CALLS      262 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.573        7.7539        .45227E-05   -1.5027    
   2  Index         2.5390        .54608        .20692E-03   -.51461    
   3  Normalizat    .94880        .21831        .11634E-04   -.94766    
   4  Prefactor     1.1277        .17829        .44729E-04   -.88588    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.31199e-10
Minuit parameter uncertainties:
  1  7.75459
  2  0.54752
  3  0.218511
  4  0.178386
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/156787': 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) = 7477.80941566
delta logL = 0.00444520138626

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.157e+01  7.755e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  2.539e+00  5.475e-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.128e+00  1.784e-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.488e-01  2.185e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.99
Ra Dec: 140.667 4.578
Photon Index (Free Index): 2.54 +/- 0.55
Photon Flux (Free Index): 1.36e-07 +/- 6.41e-08
Energy Flux (Free Index): 3.78e-05 +/- 1.99e-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/156787/cmap_HighResolution_469238401_469497601_4FGL_J0922.6+0434_daily_bin887.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.33e-07', energy_flux2='3.78e-05', photon_flux_error='5.46e-08', dlogl='4.45e-03', energy_flux='3.90e-05', photon_flux2='1.36e-07', job_status='DONE', time_completed='2021-08-31 08:21:59.012596', photon_index_error2='0.55', photon_index2='2.54', ts='9.05', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.99e-05', EG='0.95', time_epoch_completed='1630423319.01', return_code='0', job_id='156787', GAL2='1.13', EG2='0.95', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='6.41e-08', ts2='8.99', photon_index='2.49' WHERE bin_id='887' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:21:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 156787: <4FGL_J0922.6+0434_daily_bin887> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin887 140.667 4.5781 469238401 469497601 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 :                                   474.27 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             329.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   626 sec.
    Turnaround time :                            628 sec.

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

