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


Performing analysis on: 4FGL_J0922.6+0434_daily_bin591
RA = 140.667, Dec = 4.5781
tmin = 392515201, tmax = 392774401
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='154922', job_status='RUN', time_executed='2021-08-31 08:09:14.194184', time_epoch_executed='1630422554.19' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='591'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/154922

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/154922/ft1_4FGL_J0922.6+0434_daily_bin591.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/154922/ft2_4FGL_J0922.6+0434_daily_bin591.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/154922/ft1_4FGL_J0922.6+0434_daily_bin591.fits outfile=/scratch/kocevski/154922/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin591.fits ra=140.667 dec=4.5781 rad=12.0 tmin=392515201.0 tmax=392774401.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 5.64
user 3.14
sys 0.69

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/154922/ft1_filtered_4FGL_J0922.6+0434_daily_bin591.fits" evtable="EVENTS" scfile=/scratch/kocevski/154922/ft2_4FGL_J0922.6+0434_daily_bin591.fits sctable="SC_DATA" outfile=/scratch/kocevski/154922/ltcube_392515201_392774401_4FGL_J0922.6+0434_daily_bin591.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/154922/ft2_4FGL_J0922.6+0434_daily_bin591.fits
.....................!
real 16.23
user 11.75
sys 0.84

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/154922/ft1_filtered_4FGL_J0922.6+0434_daily_bin591.fits evtable="EVENTS" scfile=/scratch/kocevski/154922/ft2_4FGL_J0922.6+0434_daily_bin591.fits sctable="SC_DATA" expcube=/scratch/kocevski/154922/ltcube_392515201_392774401_4FGL_J0922.6+0434_daily_bin591.fits outfile=/scratch/kocevski/154922/expmap_392515201_392774401_4FGL_J0922.6+0434_daily_bin591.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/154922/ltcube_392515201_392774401_4FGL_J0922.6+0434_daily_bin591.fits
.....................!
real 201.09
user 186.31
sys 4.89

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/154922/ft1_filtered_4FGL_J0922.6+0434_daily_bin591.fits scfile=/scratch/kocevski/154922/ft2_4FGL_J0922.6+0434_daily_bin591.fits outfile=/scratch/kocevski/154922/cmap_392515201_392774401_4FGL_J0922.6+0434_daily_bin591.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.32
user 0.37
sys 0.57

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/154922/ft1_filtered_4FGL_J0922.6+0434_daily_bin591.fits scfile=/scratch/kocevski/154922/ft2_4FGL_J0922.6+0434_daily_bin591.fits outfile=/scratch/kocevski/154922/cmap_HighResolution_392515201_392774401_4FGL_J0922.6+0434_daily_bin591.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 2.04
user 0.38
sys 0.66

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10141E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    9.8745       1.0000         .10000E-03   10000.    
     3 'norm      '    .44319       1.0000         .10000E-03   10000.    
     4 'norm      '    .19515E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.6921       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.108       1.0000         .10000E-03   10000.    
     9 'norm      '    2.0154       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0164       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.3956       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.5505       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .64500       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=   5430.360     FROM MIGRAD    STATUS=CONVERGED    262 CALLS     1001 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.7063        .95372E-07** at limit **
   2  norm          9.8781        8.5191        .89925E-06   -.14925E-04
   3  norm          .45315        2.5325        .78390E-07   -.27112E-03
   4  norm          .17763        6.0669       -.12317E-06   -.71266E-04
   5  Prefactor     .10000E-03    12.083        .65642E-07** at limit **
   6  Prefactor     6.6953        4.1715        .27425E-06   -.19035E-03
   7  Prefactor     .10000E-03    35.108        .49636E-06** at limit **
   8  Prefactor     16.111        17.949       -.17993E-05   -.50142E-04
   9  norm          2.0165        1.2026       -.88119E-08   -.27672E-03
  10  norm          1.0173        .68630        .48739E-07   -.60056E-03
  11  Prefactor     4.4129        16.939        .28244E-04   -.62425E-04
  12  Normalizat    1.5500        .20946       -.25982E-05    .36377E-04
  13  Prefactor     .64493        .16035        .53719E-06   -.19118E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 9.87811
  norm       = 0.453149
  norm       = 0.177631
  Prefactor  = 0.0001
  Prefactor  = 6.69531
  Prefactor  = 0.0001
  Prefactor  = 16.1115
  norm       = 2.01652
  norm       = 1.0173
  Prefactor  = 4.41294
  Normalizat = 1.54995
  Prefactor  = 0.644932
 **********
 **   18 **HESSE 
 **********

 FCN=   5430.360     FROM HESSE     STATUS=OK           153 CALLS     1154 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.8432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.8781        8.5223        .12752E-03   -1.5079    
   3  norm          .45315        7.8768        .21912E-02   -1.5573    
   4  norm          .17763        51.945        .34342E-02   -1.5624    
   5  Prefactor     .10000E-03    12.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.6953        4.1723        .11309E-03   -1.5190    
   7  Prefactor     .10000E-03    35.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.111        17.968        .99793E-04   -1.4905    
   9  norm          2.0165        1.2077        .59896E-04   -1.5424    
  10  norm          1.0173        .67608        .47274E-04   -1.5506    
  11  Prefactor     4.4129        16.793        .19210E-03   -1.5288    
  12  Normalizat    1.5500        .24730        .22832E-03   -.76384    
  13  Prefactor     .64493        .18943        .26914E-03   -1.0573    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.44137e-08
Minuit parameter uncertainties:
  1  1.20755e-05
  2  8.52339
  3  3.77872
  4  6.07883
  5  3.25202e-05
  6  4.17245
  7  8.34338e-05
  8  17.9737
  9  1.20775
  10  0.676084
  11  16.8109
  12  0.247497
  13  0.189619
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  6.695e+00  4.172e+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:  6.449e-01  1.896e-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.550e+00  2.475e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.78
Ra Dec: 140.667 4.578
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 7.32e-08 +/- 4.56e-08
Energy Flux (Fixed Index): 2.15e-05 +/- 1.34e-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) = 5430.27614788
delta logL = 0.0838794758147

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5430.27131084
delta logL = 0.0887165145459

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4988       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7544       1.0000          .0000       10.000    
     3 'Normalizat'    1.5318       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65457       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=   5430.271     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      233 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5026        62.622        .42836E-02    .21317E-03
   2  Index         2.7541        3.6090        .15829        .94344E-04
   3  Normalizat    1.5318        .90290E-01    .51876E-01   -.10215E-04
   4  Prefactor     .65458        .61750E-01    .60429E-01    .95218E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.5026
  Index      = 2.75409
  Normalizat = 1.53175
  Prefactor  = 0.654585
 **********
 **   18 **HESSE 
 **********

 FCN=   5430.271     FROM HESSE     STATUS=OK            31 CALLS      264 TOTAL
                     EDM=   .76E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5026        4.9816        .96885E-04   -1.5239    
   2  Index         2.7541        .69548        .57285E-02   -.46585    
   3  Normalizat    1.5318        .24073        .22935E-03   -.76890    
   4  Prefactor     .65458        .18950        .26730E-03   -1.0533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.63564e-12
Minuit parameter uncertainties:
  1  4.98195
  2  0.698316
  3  0.24091
  4  0.189688
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/154922': 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) = 5430.27131034
delta logL = 0.088717017009

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  5.503e+00  4.982e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  2.754e+00  6.983e-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:  6.546e-01  1.897e-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.532e+00  2.409e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.96
Ra Dec: 140.667 4.578
Photon Index (Free Index): 2.75 +/- 0.70
Photon Flux (Free Index): 8.80e-08 +/- 5.99e-08
Energy Flux (Free Index): 2.03e-05 +/- 1.24e-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/154922/cmap_HighResolution_392515201_392774401_4FGL_J0922.6+0434_daily_bin591.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.32e-08', energy_flux2='2.03e-05', photon_flux_error='4.56e-08', dlogl='8.87e-02', energy_flux='2.15e-05', photon_flux2='8.80e-08', job_status='DONE', time_completed='2021-08-31 08:17:02.793327', photon_index_error2='0.70', photon_index2='2.75', ts='4.78', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', energy_flux_error2='1.24e-05', EG='1.55', time_epoch_completed='1630423022.79', return_code='0', job_id='154922', GAL2='0.65', EG2='1.53', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='5.99e-08', ts2='4.96', photon_index='2.49' WHERE bin_id='591' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:17:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 154922: <4FGL_J0922.6+0434_daily_bin591> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin591 140.667 4.5781 392515201 392774401 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 :                                   434.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             216.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   642 sec.
    Turnaround time :                            643 sec.

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

