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


Performing analysis on: 4FGL_J0922.6+0434_daily_bin720
RA = 140.667, Dec = 4.5781
tmin = 425952001, tmax = 426211201
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='156529', job_status='RUN', time_executed='2021-08-31 08:13:52.107091', time_epoch_executed='1630422832.11' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='720'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/156529

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/156529/ft1_4FGL_J0922.6+0434_daily_bin720.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/156529/ft2_4FGL_J0922.6+0434_daily_bin720.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/156529/ft1_4FGL_J0922.6+0434_daily_bin720.fits outfile=/scratch/kocevski/156529/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin720.fits ra=140.667 dec=4.5781 rad=12.0 tmin=425952001.0 tmax=426211201.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.05
user 3.42
sys 0.54

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/156529/ft2_4FGL_J0922.6+0434_daily_bin720.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/156529/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin720.fits evtable="EVENTS" outfile="/scratch/kocevski/156529/ft1_filtered_4FGL_J0922.6+0434_daily_bin720.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.88
user 0.34
sys 0.49

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/156529/ft1_filtered_4FGL_J0922.6+0434_daily_bin720.fits" evtable="EVENTS" scfile=/scratch/kocevski/156529/ft2_4FGL_J0922.6+0434_daily_bin720.fits sctable="SC_DATA" outfile=/scratch/kocevski/156529/ltcube_425952001_426211201_4FGL_J0922.6+0434_daily_bin720.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/156529/ft2_4FGL_J0922.6+0434_daily_bin720.fits
.....................!
real 12.38
user 11.58
sys 0.72

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/156529/ft1_filtered_4FGL_J0922.6+0434_daily_bin720.fits evtable="EVENTS" scfile=/scratch/kocevski/156529/ft2_4FGL_J0922.6+0434_daily_bin720.fits sctable="SC_DATA" expcube=/scratch/kocevski/156529/ltcube_425952001_426211201_4FGL_J0922.6+0434_daily_bin720.fits outfile=/scratch/kocevski/156529/expmap_425952001_426211201_4FGL_J0922.6+0434_daily_bin720.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/156529/ltcube_425952001_426211201_4FGL_J0922.6+0434_daily_bin720.fits
.....................!
real 191.15
user 185.41
sys 4.82

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/156529/ft1_filtered_4FGL_J0922.6+0434_daily_bin720.fits scfile=/scratch/kocevski/156529/ft2_4FGL_J0922.6+0434_daily_bin720.fits outfile=/scratch/kocevski/156529/cmap_425952001_426211201_4FGL_J0922.6+0434_daily_bin720.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.04
user 0.38
sys 0.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/156529/ft1_filtered_4FGL_J0922.6+0434_daily_bin720.fits scfile=/scratch/kocevski/156529/ft2_4FGL_J0922.6+0434_daily_bin720.fits outfile=/scratch/kocevski/156529/cmap_HighResolution_425952001_426211201_4FGL_J0922.6+0434_daily_bin720.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.97
user 0.40
sys 0.49

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11378E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .18137E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.0660       1.0000         .10000E-03   10000.    
     4 'norm      '    .50269       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .49431E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .39877       1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.351       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.7078       1.0000         .10000E-03   10000.    
     9 'norm      '    8.6549       1.0000         .10000E-03   10000.    
    10 'norm      '    5.3985       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    12 'Normalizat'    .98340       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .98444       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=   5962.706     FROM MIGRAD    STATUS=CONVERGED    263 CALLS     1384 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.3687       -.76609E-07** at limit **
   2  norm          .10000E-03    16.794       -.16419E-06** at limit **
   3  norm          2.0666        3.7267        .34760E-06   -.86407E-04
   4  norm          .50672        4.5932       -.90978E-06    .54005E-03
   5  Prefactor     .10016E-03    17.619        .12124E-05** at limit **
   6  Prefactor     .38475        2.9604        .14998E-05   -.75190E-03
   7  Prefactor     22.355        48.230       -.86358E-07   -.20228E-04
   8  Prefactor     3.7107        24.101       -.35653E-05   -.15142E-03
   9  norm          8.6528        2.0900        .10238E-06   -.25760E-03
  10  norm          5.3980        1.1110        .54388E-07   -.88165E-03
  11  Prefactor     .10000E-03    6.7550        .13069E-07** at limit **
  12  Normalizat    .98407        .21465       -.23668E-05   -.41312E-03
  13  Prefactor     .98423        .15925       -.32450E-06   -.49828E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.06662
  norm       = 0.506718
  Prefactor  = 0.000100159
  Prefactor  = 0.384748
  Prefactor  = 22.3555
  Prefactor  = 3.71074
  norm       = 8.65278
  norm       = 5.39798
  Prefactor  = 0.0001
  Normalizat = 0.98407
  Prefactor  = 0.984228
 **********
 **   18 **HESSE 
 **********

 FCN=   5962.706     FROM HESSE     STATUS=OK           159 CALLS     1543 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.4691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    17.509        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.0666        3.6853        .18999E-03   -1.5420    
   4  norm          .50672        26.474        .30020E-02   -1.5566    
   5  Prefactor     .10016E-03    24.167        .88023E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .38475        11.652        .21759E-02   -1.5584    
   7  Prefactor     22.355        52.156        .84724E-04   -1.4762    
   8  Prefactor     3.7107        24.198        .20972E-03   -1.5323    
   9  norm          8.6528        2.0967        .52133E-04   -1.5120    
  10  norm          5.3980        1.1126        .34381E-04   -1.5243    
  11  Prefactor     .10000E-03    6.7733        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    .98407        .24715        .28851E-03   -.93566    
  13  Prefactor     .98423        .18626        .23100E-03   -.93257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.90146e-09
Minuit parameter uncertainties:
  1  1.61396e-05
  2  4.62328e-05
  3  3.68569
  4  7.32794
  5  0.00391678
  6  4.23504
  7  52.2628
  8  18.9628
  9  2.09671
  10  1.1126
  11  8.17461e-06
  12  0.247439
  13  0.186386
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  3.847e-01  4.235e+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:  9.842e-01  1.864e-01  0.000e+00  1.000e+01 ( 1.000e+00)
462        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
463        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
460   Normalization:  9.841e-01  2.474e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 140.667 4.578
Photon Flux Upper Limit: 1.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/156529/likelihoodResults_425952001_426211201_4FGL_J0922.6+0434_daily_bin720.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): 102
logL (Free Index) = 5962.21516851
delta logL = 0.490383473123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5962.1237425
delta logL = 0.58180948787

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46624       1.0000         .10000E-03   10000.    
     2 'Index     '    4.1963       1.0000          .0000       10.000    
     3 'Normalizat'    .90219       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0212       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=   5962.124     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      228 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46683        7.3202        .11066E-01    .14212E-02
   2  Index         4.1957        3.2963        .12834        .13491E-03
   3  Normalizat    .90239        .44700E-01    .67804E-01    .17360E-04
   4  Prefactor     1.0210        .35996E-01    .42027E-01    .46263E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.466828
  Index      = 4.19572
  Normalizat = 0.902393
  Prefactor  = 1.02095
 **********
 **   18 **HESSE 
 **********

 FCN=   5962.124     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      263 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46683        21.010        .50306E-03   -1.5571    
   2  Index         4.1957        7.0708        .67996E-02   -.16156    
   3  Normalizat    .90239        .18771        .29996E-03   -.96376    
   4  Prefactor     1.0210        .14986        .22716E-03   -.92034    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.03567e-07
Minuit parameter uncertainties:
  1  6.26526
  2  7.6816
  3  0.187843
  4  0.149924
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/156529': 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): 102
logL (Free Index) = 5962.12374171
delta logL = 0.58181027344

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  4.668e-01  6.265e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  4.196e+00  7.682e+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:  1.021e+00  1.499e-01  0.000e+00  1.000e+01 ( 1.000e+00)
462        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
463        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
460   Normalization:  9.024e-01  1.878e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.27
Ra Dec: 140.667 4.578
Photon Index (Free Index): 4.20 +/- 7.68
Photon Flux (Free Index): 7.85e-08 +/- 7.52e-08
Energy Flux (Free Index): 1.14e-05 +/- 1.72e-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/156529/cmap_HighResolution_425952001_426211201_4FGL_J0922.6+0434_daily_bin720.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.94e-03', comment='SUCCESS', energy_flux2='1.14e-05', dlogl='5.82e-01', photon_flux2='7.85e-08', job_status='DONE', time_completed='2021-08-31 08:21:46.447967', photon_index_error2='7.68', photon_index2='4.20', ts='0.01', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.15e-07', energy_flux_error2='1.72e-05', EG='0.98', time_epoch_completed='1630423306.45', return_code='0', job_id='156529', GAL2='1.02', EG2='0.90', return_code2='102', photon_flux_error2='7.52e-08', ts2='1.27', photon_index='2.49' WHERE bin_id='720' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:21:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 156529: <4FGL_J0922.6+0434_daily_bin720> in cluster <slac> Done

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

Your job looked like:

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

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

