/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 122 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 = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0922.6+0434_daily_bin772
RA = 140.667, Dec = 4.5781
tmin = 439430401, tmax = 439689601
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='156610', job_status='RUN', time_executed='2021-08-31 08:13:41.189516', time_epoch_executed='1630422821.19' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/156610

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/156610/ft1_4FGL_J0922.6+0434_daily_bin772.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/156610/ft2_4FGL_J0922.6+0434_daily_bin772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/156610/ft1_4FGL_J0922.6+0434_daily_bin772.fits outfile=/scratch/kocevski/156610/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin772.fits ra=140.667 dec=4.5781 rad=12.0 tmin=439430401.0 tmax=439689601.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.85
user 4.62
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/156610/ft1_filtered_4FGL_J0922.6+0434_daily_bin772.fits" evtable="EVENTS" scfile=/scratch/kocevski/156610/ft2_4FGL_J0922.6+0434_daily_bin772.fits sctable="SC_DATA" outfile=/scratch/kocevski/156610/ltcube_439430401_439689601_4FGL_J0922.6+0434_daily_bin772.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/156610/ft2_4FGL_J0922.6+0434_daily_bin772.fits
.....................!
real 11.35
user 11.03
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/156610/ft1_filtered_4FGL_J0922.6+0434_daily_bin772.fits evtable="EVENTS" scfile=/scratch/kocevski/156610/ft2_4FGL_J0922.6+0434_daily_bin772.fits sctable="SC_DATA" expcube=/scratch/kocevski/156610/ltcube_439430401_439689601_4FGL_J0922.6+0434_daily_bin772.fits outfile=/scratch/kocevski/156610/expmap_439430401_439689601_4FGL_J0922.6+0434_daily_bin772.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/156610/ltcube_439430401_439689601_4FGL_J0922.6+0434_daily_bin772.fits
.....................!
real 189.55
user 185.39
sys 3.72

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/156610/ft1_filtered_4FGL_J0922.6+0434_daily_bin772.fits scfile=/scratch/kocevski/156610/ft2_4FGL_J0922.6+0434_daily_bin772.fits outfile=/scratch/kocevski/156610/cmap_439430401_439689601_4FGL_J0922.6+0434_daily_bin772.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.54
user 0.38
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/156610/ft1_filtered_4FGL_J0922.6+0434_daily_bin772.fits scfile=/scratch/kocevski/156610/ft2_4FGL_J0922.6+0434_daily_bin772.fits outfile=/scratch/kocevski/156610/cmap_HighResolution_439430401_439689601_4FGL_J0922.6+0434_daily_bin772.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.8084       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .85061       1.0000         .10000E-03   10000.    
     4 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.720       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .48502       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10559E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.999       1.0000         .10000E-03   10000.    
     9 'norm      '    .15876E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .83983       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.4784       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.1140       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .73806       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=   4822.454     FROM MIGRAD    STATUS=CONVERGED    230 CALLS     1093 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.8080        10.152        .31988E-02   -.15771E-03
   2  norm          .10000E-03    2.0700        .90712E-02** at limit **
   3  norm          .85027        4.3313        .12627E-01    .13737E-02
   4  norm          .10000E-03    3.8670        .90712E-02** at limit **
   5  Prefactor     12.718        15.923        .28078E-02    .55498E-03
   6  Prefactor     .48295        2.6165        .37904E-01    .38522E-03
   7  Prefactor     .10000E-03    29.679        .90712E-02** at limit **
   8  Prefactor     11.996        12.564        .28911E-02    .45823E-03
   9  norm          .10000E-03    .58425        .33572E-01** at limit **
  10  norm          .83994        .66600        .10495E-01    .57179E-03
  11  Prefactor     8.4782        11.622        .34418E-02    .21126E-03
  12  Normalizat    1.1141        .19358        .37457E-01    .26328E-04
  13  Prefactor     .73805        .15436        .42906E-01    .77914E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.80795
  norm       = 0.0001
  norm       = 0.850265
  norm       = 0.0001
  Prefactor  = 12.7184
  Prefactor  = 0.482947
  Prefactor  = 0.0001
  Prefactor  = 11.9963
  norm       = 0.0001
  norm       = 0.839942
  Prefactor  = 8.47819
  Normalizat = 1.11408
  Prefactor  = 0.738045
 **********
 **   18 **HESSE 
 **********

 FCN=   4822.454     FROM HESSE     STATUS=OK           149 CALLS     1242 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.8080        10.149        .12795E-03   -1.5082    
   2  norm          .10000E-03    2.0711        .97577E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .85027        4.3475        .27068E-03   -1.5524    
   4  norm          .10000E-03    3.8914        .13331E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.718        15.947        .11231E-03   -1.4995    
   6  Prefactor     .48295        4.5997        .21018E-02   -1.5569    
   7  Prefactor     .10000E-03    29.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.996        12.531        .11564E-03   -1.5015    
   9  norm          .10000E-03    6.8969        .10155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .83994        .64562        .47559E-04   -1.5525    
  11  Prefactor     8.4782        11.620        .13767E-03   -1.5126    
  12  Normalizat    1.1141        .22381        .22383E-03   -.89301    
  13  Prefactor     .73805        .18118        .22016E-03   -1.0205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3539e-09
Minuit parameter uncertainties:
  1  10.1509
  2  7.77694e-06
  3  3.84548
  4  3.49302e-06
  5  15.9524
  6  2.98088
  7  1.11729e-05
  8  12.5333
  9  5.71797e-05
  10  0.645626
  11  11.623
  12  0.224002
  13  0.181321
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  4.829e-01  2.981e+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:  7.380e-01  1.813e-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.114e+00  2.240e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 140.667 4.578
Photon Flux Upper Limit: 9.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/156610/likelihoodResults_439430401_439689601_4FGL_J0922.6+0434_daily_bin772.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4822.43843428
delta logL = 0.0155357132235

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4822.42966627
delta logL = 0.0243037281489

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95032       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1441       1.0000          .0000       10.000    
     3 'Normalizat'    1.1160       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73519       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=   4822.430     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      266 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94886        3.6921        .24530E-03   -.13857E-04
   2  Index         2.1433        1.3251        .16342E-01    .34532E-04
   3  Normalizat    1.1160        .21824        .22365E-03    .16774E-05
   4  Prefactor     .73519        .17985        .22054E-03   -.76809E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.948865
  Index      = 2.14328
  Normalizat = 1.116
  Prefactor  = 0.735195
 **********
 **   18 **HESSE 
 **********

 FCN=   4822.430     FROM HESSE     STATUS=OK            25 CALLS      291 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94886        3.6310        .98120E-05   -1.5513    
   2  Index         2.1433        1.3050        .32683E-02   -.60814    
   3  Normalizat    1.1160        .21844        .89461E-05   -.89240    
   4  Prefactor     .73519        .17998        .88215E-05   -1.0216    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23549e-12
Minuit parameter uncertainties:
  1  3.63186
  2  1.32807
  3  0.218618
  4  0.180126
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/156610': 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) = 4822.42966597
delta logL = 0.0243040220321

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  9.489e-01  3.632e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  2.143e+00  1.328e+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:  7.352e-01  1.801e-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.116e+00  2.186e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
Ra Dec: 140.667 4.578

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/156610/cmap_HighResolution_439430401_439689601_4FGL_J0922.6+0434_daily_bin772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.09e-03', job_status='DONE', photon_flux_upper_limit='9.12e-08', time_completed='2021-08-31 08:20:51.452506', job_id='156610', GAL2='0.74', fit_tolerance='1e-08', EG2='1.12', EG='1.11', time_epoch_completed='1630423251.45', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='2.43e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='772' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:20:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 156610: <4FGL_J0922.6+0434_daily_bin772> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin772 140.667 4.5781 439430401 439689601 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 :                                   428.03 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             305.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   569 sec.
    Turnaround time :                            571 sec.

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

