/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 162 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 = 7381
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0922.6+0434_daily_bin105
RA = 140.667, Dec = 4.5781
tmin = 266544001, tmax = 266803201
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='152430', job_status='RUN', time_executed='2021-08-31 08:01:57.086455', time_epoch_executed='1630422117.09' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='105'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/152430

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/152430/ft1_4FGL_J0922.6+0434_daily_bin105.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/152430/ft2_4FGL_J0922.6+0434_daily_bin105.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/152430/ft1_4FGL_J0922.6+0434_daily_bin105.fits outfile=/scratch/kocevski/152430/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin105.fits ra=140.667 dec=4.5781 rad=12.0 tmin=266544001.0 tmax=266803201.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.11
user 1.22
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/152430/ft2_4FGL_J0922.6+0434_daily_bin105.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/152430/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin105.fits evtable="EVENTS" outfile="/scratch/kocevski/152430/ft1_filtered_4FGL_J0922.6+0434_daily_bin105.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.51
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/152430/ft1_filtered_4FGL_J0922.6+0434_daily_bin105.fits" evtable="EVENTS" scfile=/scratch/kocevski/152430/ft2_4FGL_J0922.6+0434_daily_bin105.fits sctable="SC_DATA" outfile=/scratch/kocevski/152430/ltcube_266544001_266803201_4FGL_J0922.6+0434_daily_bin105.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/152430/ft2_4FGL_J0922.6+0434_daily_bin105.fits
.....................!
real 12.74
user 12.26
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/152430/ft1_filtered_4FGL_J0922.6+0434_daily_bin105.fits evtable="EVENTS" scfile=/scratch/kocevski/152430/ft2_4FGL_J0922.6+0434_daily_bin105.fits sctable="SC_DATA" expcube=/scratch/kocevski/152430/ltcube_266544001_266803201_4FGL_J0922.6+0434_daily_bin105.fits outfile=/scratch/kocevski/152430/expmap_266544001_266803201_4FGL_J0922.6+0434_daily_bin105.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/152430/ltcube_266544001_266803201_4FGL_J0922.6+0434_daily_bin105.fits
.....................!
real 191.43
user 184.87
sys 5.14

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/152430/ft1_filtered_4FGL_J0922.6+0434_daily_bin105.fits scfile=/scratch/kocevski/152430/ft2_4FGL_J0922.6+0434_daily_bin105.fits outfile=/scratch/kocevski/152430/cmap_266544001_266803201_4FGL_J0922.6+0434_daily_bin105.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/152430/ft1_filtered_4FGL_J0922.6+0434_daily_bin105.fits scfile=/scratch/kocevski/152430/ft2_4FGL_J0922.6+0434_daily_bin105.fits outfile=/scratch/kocevski/152430/cmap_HighResolution_266544001_266803201_4FGL_J0922.6+0434_daily_bin105.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.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    36.390       1.0000         .10000E-03   10000.    
     2 'norm      '    8.0531       1.0000         .10000E-03   10000.    
     3 'norm      '    2.5867       1.0000         .10000E-03   10000.    
     4 'norm      '    4.5115       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10409E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.4888       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.8683       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.162       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.2196       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .86957       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=   9561.614     FROM MIGRAD    STATUS=CONVERGED    220 CALLS      937 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          36.389        9.8286        .16609E-02    .42384E-04
   2  norm          8.0527        6.7928        .35321E-02    .47441E-03
   3  norm          2.5865        3.6415        .63430E-02    .10522E-02
   4  norm          4.5121        4.8956        .47387E-02    .12297E-02
   5  Prefactor     .10000E-03    18.015        .90712E-02** at limit **
   6  Prefactor     9.4885        3.9660        .32524E-02    .41834E-03
   7  Prefactor     .10000E-03    22.429        .90712E-02** at limit **
   8  Prefactor     .10000E-03    8.8148        .90712E-02** at limit **
   9  norm          .10000E-03    .20200        .90712E-03** at limit **
  10  norm          3.8683        .72317        .51292E-02    .21804E-02
  11  Prefactor     14.161        9.7856        .26609E-02    .23243E-04
  12  Normalizat    1.2197        .15674        .58439E-01    .41620E-03
  13  Prefactor     .86953        .12612        .44616E-01    .58676E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 36.3892
  norm       = 8.05274
  norm       = 2.58647
  norm       = 4.51207
  Prefactor  = 0.0001
  Prefactor  = 9.48852
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.86828
  Prefactor  = 14.1612
  Normalizat = 1.21968
  Prefactor  = 0.86953
 **********
 **   18 **HESSE 
 **********

 FCN=   9561.614     FROM HESSE     STATUS=OK           143 CALLS     1080 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          36.389        9.8292        .66436E-04   -1.4501    
   2  norm          8.0527        6.7958        .14129E-03   -1.5140    
   3  norm          2.5865        3.6286        .20877E-03   -1.5386    
   4  norm          4.5121        4.8912        .18955E-03   -1.5283    
   5  Prefactor     .10000E-03    18.490        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.4885        3.9772        .11824E-03   -1.5092    
   7  Prefactor     .10000E-03    22.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.9330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .20203        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.8683        .72363        .34264E-04   -1.5315    
  11  Prefactor     14.161        9.7878        .10643E-03   -1.4955    
  12  Normalizat    1.2197        .18469        .25844E-03   -.85997    
  13  Prefactor     .86953        .14809        .24634E-03   -.97214    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.19407e-10
Minuit parameter uncertainties:
  1  9.8296
  2  6.79643
  3  3.62888
  4  4.89165
  5  0.00013257
  6  3.97736
  7  0.000204357
  8  8.51825e-05
  9  5.47089e-07
  10  0.723635
  11  9.78888
  12  0.184789
  13  0.148156
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  9.489e+00  3.977e+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.695e-01  1.482e-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.220e+00  1.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.10
Ra Dec: 140.667 4.578
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 1.04e-07 +/- 4.35e-08
Energy Flux (Fixed Index): 3.05e-05 +/- 1.28e-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) = 9561.0392782
delta logL = 0.575197796205

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9561.02063392
delta logL = 0.593842074353

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9503       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0624       1.0000          .0000       10.000    
     3 'Normalizat'    1.1559       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90456       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=   9561.021     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      278 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9500        5.1420        .80647E-04   -.25656E-03
   2  Index         3.0629        .65591        .45515E-02    .80304E-03
   3  Normalizat    1.1553        .19386        .26420E-03   -.83221E-04
   4  Prefactor     .90492        .15333        .24199E-03   -.22052E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.95004
  Index      = 3.06292
  Normalizat = 1.15534
  Prefactor  = 0.904924
 **********
 **   18 **HESSE 
 **********

 FCN=   9561.021     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9500        4.4244        .32259E-05   -1.5220    
   2  Index         3.0629        .56403        .91030E-03   -.39783    
   3  Normalizat    1.1553        .19216        .10568E-04   -.87994    
   4  Prefactor     .90492        .15236        .96797E-05   -.95969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.00363e-11
Minuit parameter uncertainties:
  1  4.42463
  2  0.565442
  3  0.192277
  4  0.15243
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/152430': 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) = 9561.02062943
delta logL = 0.593846563488

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  5.950e+00  4.425e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  3.063e+00  5.654e-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:  9.049e-01  1.524e-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.155e+00  1.923e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.45
Ra Dec: 140.667 4.578
Photon Index (Free Index): 3.06 +/- 0.57
Photon Flux (Free Index): 1.52e-07 +/- 6.61e-08
Energy Flux (Free Index): 2.95e-05 +/- 1.08e-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/152430/cmap_HighResolution_266544001_266803201_4FGL_J0922.6+0434_daily_bin105.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.04e-07', energy_flux2='2.95e-05', photon_flux_error='4.35e-08', dlogl='5.94e-01', energy_flux='3.05e-05', photon_flux2='1.52e-07', job_status='DONE', time_completed='2021-08-31 08:10:20.608894', photon_index_error2='0.57', photon_index2='3.06', ts='11.10', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='1.08e-05', EG='1.22', time_epoch_completed='1630422620.61', return_code='0', job_id='152430', GAL2='0.90', EG2='1.16', return_code2='0', energy_flux_error='1.28e-05', photon_flux_error2='6.61e-08', ts2='12.45', photon_index='2.49' WHERE bin_id='105' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:10:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 152430: <4FGL_J0922.6+0434_daily_bin105> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin105 140.667 4.5781 266544001 266803201 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 :                                   498.41 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             251.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   679 sec.
    Turnaround time :                            681 sec.

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

