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


Performing analysis on: 4FGL_J0922.6+0434_daily_bin738
RA = 140.667, Dec = 4.5781
tmin = 430617601, tmax = 430876801
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='156562', job_status='RUN', time_executed='2021-08-31 08:13:47.338163', time_epoch_executed='1630422827.34' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='738'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/156562

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/156562/ft1_4FGL_J0922.6+0434_daily_bin738.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/156562/ft2_4FGL_J0922.6+0434_daily_bin738.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/156562/ft1_4FGL_J0922.6+0434_daily_bin738.fits outfile=/scratch/kocevski/156562/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin738.fits ra=140.667 dec=4.5781 rad=12.0 tmin=430617601.0 tmax=430876801.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.13
user 3.87
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/156562/ft2_4FGL_J0922.6+0434_daily_bin738.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/156562/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin738.fits evtable="EVENTS" outfile="/scratch/kocevski/156562/ft1_filtered_4FGL_J0922.6+0434_daily_bin738.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.42
user 0.28
sys 0.12

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/156562/ft1_filtered_4FGL_J0922.6+0434_daily_bin738.fits" evtable="EVENTS" scfile=/scratch/kocevski/156562/ft2_4FGL_J0922.6+0434_daily_bin738.fits sctable="SC_DATA" outfile=/scratch/kocevski/156562/ltcube_430617601_430876801_4FGL_J0922.6+0434_daily_bin738.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/156562/ft2_4FGL_J0922.6+0434_daily_bin738.fits
.....................!
real 9.57
user 9.22
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/156562/ft1_filtered_4FGL_J0922.6+0434_daily_bin738.fits evtable="EVENTS" scfile=/scratch/kocevski/156562/ft2_4FGL_J0922.6+0434_daily_bin738.fits sctable="SC_DATA" expcube=/scratch/kocevski/156562/ltcube_430617601_430876801_4FGL_J0922.6+0434_daily_bin738.fits outfile=/scratch/kocevski/156562/expmap_430617601_430876801_4FGL_J0922.6+0434_daily_bin738.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/156562/ltcube_430617601_430876801_4FGL_J0922.6+0434_daily_bin738.fits
.....................!
real 141.66
user 138.32
sys 2.97

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/156562/ft1_filtered_4FGL_J0922.6+0434_daily_bin738.fits scfile=/scratch/kocevski/156562/ft2_4FGL_J0922.6+0434_daily_bin738.fits outfile=/scratch/kocevski/156562/cmap_430617601_430876801_4FGL_J0922.6+0434_daily_bin738.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.49
user 0.28
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/156562/ft1_filtered_4FGL_J0922.6+0434_daily_bin738.fits scfile=/scratch/kocevski/156562/ft2_4FGL_J0922.6+0434_daily_bin738.fits outfile=/scratch/kocevski/156562/cmap_HighResolution_430617601_430876801_4FGL_J0922.6+0434_daily_bin738.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.44
user 0.29
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    6.1145       1.0000         .10000E-03   10000.    
     3 'norm      '    .10124E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    31.351       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.9400       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    10.161       1.0000         .10000E-03   10000.    
    10 'norm      '    .10082E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.204       1.0000         .10000E-03   10000.    
    12 'Normalizat'    .90298       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0629       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=   5594.763     FROM MIGRAD    STATUS=CONVERGED    251 CALLS     1116 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.8061        .90712E-02** at limit **
   2  norm          6.1143        5.8342        .40590E-02   -.87958E-03
   3  norm          .10000E-03    2.3858        .64468E-01** at limit **
   4  norm          .10000E-03    4.9581        .90712E-02** at limit **
   5  Prefactor     31.352        25.627        .17890E-02   -.57781E-03
   6  Prefactor     7.9398        4.4322        .35574E-02    .23347E-02
   7  Prefactor     .10000E-03    26.554        .90712E-02** at limit **
   8  Prefactor     .10000E-03    19.072        .90712E-02** at limit **
   9  norm          10.161        2.3458        .31426E-02    .34687E-04
  10  norm          .10000E-03    .37539        .24432E-01** at limit **
  11  Prefactor     20.205        16.412        .22277E-02    .68003E-04
  12  Normalizat    .90293        .20714        .65737E-01    .12942E-04
  13  Prefactor     1.0630        .16139        .39206E-01   -.10789E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 6.11435
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 31.3518
  Prefactor  = 7.93976
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.161
  norm       = 0.0001
  Prefactor  = 20.2046
  Normalizat = 0.902927
  Prefactor  = 1.06297
 **********
 **   18 **HESSE 
 **********

 FCN=   5594.763     FROM HESSE     STATUS=OK           145 CALLS     1261 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.8293        .14251E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.1143        5.8388        .16236E-03   -1.5213    
   3  norm          .10000E-03    14.053        .22021E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    5.0092        .16256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     31.352        25.684        .71560E-04   -1.4588    
   6  Prefactor     7.9398        4.4324        .56118E-03   -1.5144    
   7  Prefactor     .10000E-03    26.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    19.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.161        2.3489        .52165E-04   -1.5070    
  10  norm          .10000E-03    1.6329        .86735E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.205        16.428        .89107E-04   -1.4809    
  12  Normalizat    .90293        .23879        .29079E-03   -.96357    
  13  Prefactor     1.0630        .18840        .21960E-03   -.90659    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06997e-09
Minuit parameter uncertainties:
  1  4.19602e-07
  2  5.83931
  3  5.72793e-06
  4  5.2365e-07
  5  25.6933
  6  4.43254
  7  1.66606e-05
  8  1.77335e-05
  9  2.34893
  10  1.63603e-09
  11  16.432
  12  0.239072
  13  0.188518
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  7.940e+00  4.433e+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.063e+00  1.885e-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.029e-01  2.391e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.02
Ra Dec: 140.667 4.578
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 8.69e-08 +/- 4.85e-08
Energy Flux (Fixed Index): 2.55e-05 +/- 1.43e-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) = 5593.76342306
delta logL = 1.00007526693

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5593.663808
delta logL = 1.0996903224

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.059       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8401       1.0000          .0000       10.000    
     3 'Normalizat'    .95040       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0365       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=   5593.664     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      206 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.069        5.8693        .31585E-02    .37897E-04
   2  Index         1.8401        .36793        .15987       -.32148E-04
   3  Normalizat    .95034        .20106        .45542E-01    .19246E-04
   4  Prefactor     1.0366        .16348        .40772E-01   -.28154E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.0689
  Index      = 1.84013
  Normalizat = 0.950338
  Prefactor  = 1.03658
 **********
 **   18 **HESSE 
 **********

 FCN=   5593.664     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.069        5.6322        .12583E-03   -1.5073    
   2  Index         1.8401        .38566        .64446E-02   -.68410    
   3  Normalizat    .95034        .23060        .28392E-03   -.94713    
   4  Prefactor     1.0366        .18778        .22182E-03   -.91520    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83052e-10
Minuit parameter uncertainties:
  1  5.63247
  2  0.386296
  3  0.230842
  4  0.187896
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/156562': 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) = 5593.66380637
delta logL = 1.0996919533

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.007e+01  5.632e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  1.840e+00  3.863e-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.037e+00  1.879e-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.503e-01  2.308e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.22
Ra Dec: 140.667 4.578
Photon Index (Free Index): 1.84 +/- 0.39
Photon Flux (Free Index): 5.16e-08 +/- 3.67e-08
Energy Flux (Free Index): 5.48e-05 +/- 4.74e-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/156562/cmap_HighResolution_430617601_430876801_4FGL_J0922.6+0434_daily_bin738.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.69e-08', energy_flux2='5.48e-05', photon_flux_error='4.85e-08', dlogl='1.10e+00', energy_flux='2.55e-05', photon_flux2='5.16e-08', job_status='DONE', time_completed='2021-08-31 08:19:14.566384', photon_index_error2='0.39', photon_index2='1.84', ts='8.02', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='4.74e-05', EG='0.90', time_epoch_completed='1630423154.57', return_code='0', job_id='156562', GAL2='1.04', EG2='0.95', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='3.67e-08', ts2='10.22', photon_index='2.49' WHERE bin_id='738' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:19:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 156562: <4FGL_J0922.6+0434_daily_bin738> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin738 140.667 4.5781 430617601 430876801 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 :                                   323.05 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             286.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   475 sec.
    Turnaround time :                            477 sec.

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

