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


Performing analysis on: 4FGL_J0922.6+0434_daily_bin747
RA = 140.667, Dec = 4.5781
tmin = 432950401, tmax = 433209601
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='156574', job_status='RUN', time_executed='2021-08-31 08:14:12.135249', time_epoch_executed='1630422852.14' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/156574

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/156574/ft1_4FGL_J0922.6+0434_daily_bin747.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/156574/ft2_4FGL_J0922.6+0434_daily_bin747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/156574/ft1_4FGL_J0922.6+0434_daily_bin747.fits outfile=/scratch/kocevski/156574/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin747.fits ra=140.667 dec=4.5781 rad=12.0 tmin=432950401.0 tmax=433209601.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.70
user 5.39
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/156574/ft2_4FGL_J0922.6+0434_daily_bin747.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/156574/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin747.fits evtable="EVENTS" outfile="/scratch/kocevski/156574/ft1_filtered_4FGL_J0922.6+0434_daily_bin747.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.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/156574/ft1_filtered_4FGL_J0922.6+0434_daily_bin747.fits" evtable="EVENTS" scfile=/scratch/kocevski/156574/ft2_4FGL_J0922.6+0434_daily_bin747.fits sctable="SC_DATA" outfile=/scratch/kocevski/156574/ltcube_432950401_433209601_4FGL_J0922.6+0434_daily_bin747.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/156574/ft2_4FGL_J0922.6+0434_daily_bin747.fits
.....................!
real 12.17
user 11.68
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/156574/ft1_filtered_4FGL_J0922.6+0434_daily_bin747.fits evtable="EVENTS" scfile=/scratch/kocevski/156574/ft2_4FGL_J0922.6+0434_daily_bin747.fits sctable="SC_DATA" expcube=/scratch/kocevski/156574/ltcube_432950401_433209601_4FGL_J0922.6+0434_daily_bin747.fits outfile=/scratch/kocevski/156574/expmap_432950401_433209601_4FGL_J0922.6+0434_daily_bin747.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/156574/ltcube_432950401_433209601_4FGL_J0922.6+0434_daily_bin747.fits
.....................!
real 191.33
user 185.42
sys 4.40

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/156574/ft1_filtered_4FGL_J0922.6+0434_daily_bin747.fits scfile=/scratch/kocevski/156574/ft2_4FGL_J0922.6+0434_daily_bin747.fits outfile=/scratch/kocevski/156574/cmap_432950401_433209601_4FGL_J0922.6+0434_daily_bin747.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/156574/ft1_filtered_4FGL_J0922.6+0434_daily_bin747.fits scfile=/scratch/kocevski/156574/ft2_4FGL_J0922.6+0434_daily_bin747.fits outfile=/scratch/kocevski/156574/cmap_HighResolution_432950401_433209601_4FGL_J0922.6+0434_daily_bin747.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.62
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0507       1.0000         .10000E-03   10000.    
     2 'norm      '    2.7827       1.0000         .10000E-03   10000.    
     3 'norm      '    4.8855       1.0000         .10000E-03   10000.    
     4 'norm      '    .18249E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.1533       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.063       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.491       1.0000         .10000E-03   10000.    
     9 'norm      '    4.9958       1.0000         .10000E-03   10000.    
    10 'norm      '    2.5425       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.5386       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .70379       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=   5646.063     FROM MIGRAD    STATUS=CONVERGED    249 CALLS     1130 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0515        6.4586        .18752E-05    .23933E-05
   2  norm          2.7838        3.6510       -.91495E-07   -.52927E-03
   3  norm          4.8819        4.4211        .75945E-07   -.56640E-03
   4  norm          .10000E-03    4.2659       -.16998E-06** at limit **
   5  Prefactor     5.1472        16.819        .43489E-05    .16859E-05
   6  Prefactor     13.061        6.1091        .50230E-06   -.24924E-04
   7  Prefactor     .10000E-03    22.046        .28073E-06** at limit **
   8  Prefactor     19.439        22.006       -.76488E-06   -.13913E-04
   9  norm          4.9944        2.1243        .25498E-07   -.61774E-04
  10  norm          2.5422        .90674       -.35155E-08   -.76038E-04
  11  Prefactor     .10000E-03    14.346       -.43765E-06** at limit **
  12  Normalizat    1.5393        .23032       -.16225E-05    .52460E-04
  13  Prefactor     .70327        .16836        .63357E-06   -.56355E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.05148
  norm       = 2.78378
  norm       = 4.88194
  norm       = 0.0001
  Prefactor  = 5.14718
  Prefactor  = 13.0613
  Prefactor  = 0.0001
  Prefactor  = 19.439
  norm       = 4.99444
  norm       = 2.54217
  Prefactor  = 0.0001
  Normalizat = 1.53931
  Prefactor  = 0.703272
 **********
 **   18 **HESSE 
 **********

 FCN=   5646.063     FROM HESSE     STATUS=OK           151 CALLS     1281 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0515        6.4869        .17892E-03   -1.5258    
   2  norm          2.7838        6.2100        .12197E-02   -1.5374    
   3  norm          4.8819        5.3180        .85317E-03   -1.5266    
   4  norm          .10000E-03    18.197        .29968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.1472        16.812        .17710E-03   -1.5254    
   6  Prefactor     13.061        6.1084        .11083E-03   -1.4985    
   7  Prefactor     .10000E-03    22.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     19.439        22.113        .90722E-04   -1.4826    
   9  norm          4.9944        2.1402        .67208E-04   -1.5261    
  10  norm          2.5422        .90564        .40476E-04   -1.5389    
  11  Prefactor     .10000E-03    14.380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.5393        .27070        .25581E-03   -.76680    
  13  Prefactor     .70327        .19843        .27932E-03   -1.0340    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.30418e-10
Minuit parameter uncertainties:
  1  6.4878
  2  6.21144
  3  5.31852
  4  0.000140182
  5  16.8275
  6  6.10874
  7  2.2212e-05
  8  22.1222
  9  2.1402
  10  0.905642
  11  1.35394e-05
  12  0.270961
  13  0.19863
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.306e+01  6.109e+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.033e-01  1.986e-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.539e+00  2.710e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.49
Ra Dec: 140.667 4.578
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 1.43e-07 +/- 6.68e-08
Energy Flux (Fixed Index): 4.20e-05 +/- 1.96e-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) = 5645.24753554
delta logL = 0.815598031038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5645.24583392
delta logL = 0.817299649917

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4604       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3199       1.0000          .0000       10.000    
     3 'Normalizat'    1.4489       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76042       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=   5645.246     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      248 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4620        33.501        .42989E-02    .10799E-02
   2  Index         3.3198        2.8506        .92583E-01    .28340E-03
   3  Normalizat    1.4488        .10644        .59200E-01   -.11102E-03
   4  Prefactor     .76048        .76970E-01    .43200E-01   -.41361E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.46204
  Index      = 3.31979
  Normalizat = 1.4488
  Prefactor  = 0.760483
 **********
 **   18 **HESSE 
 **********

 FCN=   5645.246     FROM HESSE     STATUS=OK            31 CALLS      279 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4620        8.2137        .68068E-04   -1.5241    
   2  Index         3.3198        1.0041        .38081E-02   -.34271    
   3  Normalizat    1.4488        .26870        .26180E-03   -.79227    
   4  Prefactor     .76048        .20441        .26941E-03   -1.0120    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97132e-10
Minuit parameter uncertainties:
  1  8.21542
  2  1.01191
  3  0.268964
  4  0.204616
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/156574': 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) = 5645.24583377
delta logL = 0.817299804678

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  5.462e+00  8.215e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  3.320e+00  1.012e+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.605e-01  2.046e-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.449e+00  2.690e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.34
Ra Dec: 140.667 4.578
Photon Index (Free Index): 3.32 +/- 1.01
Photon Flux (Free Index): 2.10e-07 +/- 9.60e-08
Energy Flux (Free Index): 3.69e-05 +/- 1.62e-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/156574/cmap_HighResolution_432950401_433209601_4FGL_J0922.6+0434_daily_bin747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.43e-07', energy_flux2='3.69e-05', photon_flux_error='6.68e-08', dlogl='8.17e-01', energy_flux='4.20e-05', photon_flux2='2.10e-07', job_status='DONE', time_completed='2021-08-31 08:21:50.140119', photon_index_error2='1.01', photon_index2='3.32', ts='7.49', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', energy_flux_error2='1.62e-05', EG='1.54', time_epoch_completed='1630423310.14', return_code='0', job_id='156574', GAL2='0.76', EG2='1.45', return_code2='0', energy_flux_error='1.96e-05', photon_flux_error2='9.60e-08', ts2='9.34', photon_index='2.49' WHERE bin_id='747' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:21:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 156574: <4FGL_J0922.6+0434_daily_bin747> in cluster <slac> Done

Job <4FGL_J0922.6+0434_daily_bin747> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Aug 31 08:11:19 2021
Job was executed on host(s) <bullet0064>, 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:21:50 2021
Results reported at Tue Aug 31 08:21:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin747 140.667 4.5781 432950401 433209601 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 :                                   450.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   631 sec.
    Turnaround time :                            631 sec.

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

