/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 1 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 = 7393
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0922.6+0434_daily_bin307
RA = 140.667, Dec = 4.5781
tmin = 318902401, tmax = 319161601
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='152743', job_status='RUN', time_executed='2021-08-31 08:04:51.931662', time_epoch_executed='1630422291.93' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='307'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/152743

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/152743/ft1_4FGL_J0922.6+0434_daily_bin307.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/152743/ft2_4FGL_J0922.6+0434_daily_bin307.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/152743/ft1_4FGL_J0922.6+0434_daily_bin307.fits outfile=/scratch/kocevski/152743/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin307.fits ra=140.667 dec=4.5781 rad=12.0 tmin=318902401.0 tmax=319161601.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 12.78
user 3.18
sys 9.34

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/152743/ft2_4FGL_J0922.6+0434_daily_bin307.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/152743/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin307.fits evtable="EVENTS" outfile="/scratch/kocevski/152743/ft1_filtered_4FGL_J0922.6+0434_daily_bin307.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 11.19
user 0.36
sys 9.53

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/152743/ft1_filtered_4FGL_J0922.6+0434_daily_bin307.fits" evtable="EVENTS" scfile=/scratch/kocevski/152743/ft2_4FGL_J0922.6+0434_daily_bin307.fits sctable="SC_DATA" outfile=/scratch/kocevski/152743/ltcube_318902401_319161601_4FGL_J0922.6+0434_daily_bin307.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/152743/ft2_4FGL_J0922.6+0434_daily_bin307.fits
.....................!
real 29.08
user 17.20
sys 10.96

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/152743/ft1_filtered_4FGL_J0922.6+0434_daily_bin307.fits evtable="EVENTS" scfile=/scratch/kocevski/152743/ft2_4FGL_J0922.6+0434_daily_bin307.fits sctable="SC_DATA" expcube=/scratch/kocevski/152743/ltcube_318902401_319161601_4FGL_J0922.6+0434_daily_bin307.fits outfile=/scratch/kocevski/152743/expmap_318902401_319161601_4FGL_J0922.6+0434_daily_bin307.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/152743/ltcube_318902401_319161601_4FGL_J0922.6+0434_daily_bin307.fits
.....................!
real 207.26
user 186.77
sys 16.73

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/152743/ft1_filtered_4FGL_J0922.6+0434_daily_bin307.fits scfile=/scratch/kocevski/152743/ft2_4FGL_J0922.6+0434_daily_bin307.fits outfile=/scratch/kocevski/152743/cmap_318902401_319161601_4FGL_J0922.6+0434_daily_bin307.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 11.39
user 0.36
sys 9.34

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/152743/ft1_filtered_4FGL_J0922.6+0434_daily_bin307.fits scfile=/scratch/kocevski/152743/ft2_4FGL_J0922.6+0434_daily_bin307.fits outfile=/scratch/kocevski/152743/cmap_HighResolution_318902401_319161601_4FGL_J0922.6+0434_daily_bin307.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 11.04
user 0.39
sys 9.20

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    18.532       1.0000         .10000E-03   10000.    
     4 'norm      '    .10342E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.8945       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.8935       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10907E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.860       1.0000         .10000E-03   10000.    
     9 'norm      '    .67139       1.0000         .10000E-03   10000.    
    10 'norm      '    .93578       1.0000         .10000E-03   10000.    
    11 'Prefactor '    30.462       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.3158       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .74946       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=   4876.629     FROM MIGRAD    STATUS=CONVERGED    230 CALLS      951 TOTAL
                     EDM=   .87E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.4711        .90712E-02** at limit **
   2  norm          .10000E-03    7.1696        .90712E-02** at limit **
   3  norm          18.531        6.7266        .23259E-02    .46052E-02
   4  norm          .10000E-03    4.5815        .90712E-02** at limit **
   5  Prefactor     3.8186        27.639        .51113E-02   -.85230E-04
   6  Prefactor     2.8921        4.4564        .59725E-02    .95251E-03
   7  Prefactor     .10000E-03    40.732        .90712E-02** at limit **
   8  Prefactor     22.856        19.483        .20944E-02   -.73101E-03
   9  norm          .67170        1.3289        .11952E-01    .23758E-02
  10  norm          .93568        .56327        .87875E-02    .35429E-03
  11  Prefactor     30.460        16.677        .18148E-02    .15591E-03
  12  Normalizat    1.3162        .21489        .53771E-01    .41094E-04
  13  Prefactor     .74917        .16905        .43056E-01    .24581E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 18.5311
  norm       = 0.0001
  Prefactor  = 3.81864
  Prefactor  = 2.89211
  Prefactor  = 0.000100001
  Prefactor  = 22.8559
  norm       = 0.671703
  norm       = 0.935684
  Prefactor  = 30.46
  Normalizat = 1.31619
  Prefactor  = 0.749174
 **********
 **   18 **HESSE 
 **********

 FCN=   4876.629     FROM HESSE     STATUS=OK           143 CALLS     1094 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.4958        .15951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    7.3008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          18.531        6.7426        .93038E-04   -1.4847    
   4  norm          .10000E-03    4.6099        .14593E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.8186        27.555        .20445E-03   -1.5317    
   6  Prefactor     2.8921        4.4415        .17202E-03   -1.5368    
   7  Prefactor     .10000E-03    40.863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.856        19.486        .83777E-04   -1.4751    
   9  norm          .67170        1.3147        .10584E-03   -1.5544    
  10  norm          .93568        .55841        .39114E-04   -1.5515    
  11  Prefactor     30.460        16.682        .72594E-04   -1.4604    
  12  Normalizat    1.3162        .25387        .23775E-03   -.83084    
  13  Prefactor     .74917        .19906        .24865E-03   -1.0163    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.36769e-09
Minuit parameter uncertainties:
  1  7.96139e-05
  2  6.94323e-05
  3  6.74285
  4  3.85061e-07
  5  20.5289
  6  4.44196
  7  0.000337645
  8  19.4912
  9  1.3148
  10  0.558414
  11  16.6843
  12  0.25411
  13  0.199245
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  2.892e+00  4.442e+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.492e-01  1.992e-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.316e+00  2.541e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.52
Ra Dec: 140.667 4.578
Photon Flux Upper Limit: 1.41e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.09e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/152743/likelihoodResults_318902401_319161601_4FGL_J0922.6+0434_daily_bin307.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) = 4876.39124555
delta logL = 0.237450500073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4875.96090918
delta logL = 0.66778687147

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17513E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    8.4045       1.0000          .0000       10.000    
     3 'Normalizat'    1.2501       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79774       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=   4875.961     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      367 TOTAL
                     EDM=   .64E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17171E-03    .16909E-03    .27230E-03** at limit **
   2  Index         8.4144        .48705        .18805       -.54861E-04
   3  Normalizat    1.2499        .21278        .54877E-01   -.65646E-04
   4  Prefactor     .79785        .17052        .43688E-01   -.32524E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000171711
  Index      = 8.41437
  Normalizat = 1.24986
  Prefactor  = 0.797852
 **********
 **   18 **HESSE 
 **********

 FCN=   4875.961     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      400 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17171E-03    .17075E-01    .11733E-05   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.4144        8.8859        .75956E-02    .75169    
   3  Normalizat    1.2499        .21536        .24265E-03   -.85076    
   4  Prefactor     .79785        .17395        .24183E-03   -.99808    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.64104e-10
Minuit parameter uncertainties:
  1  0.00221314
  2  6.61097
  3  0.21551
  4  0.174066
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/152743': 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) = 4875.96090523
delta logL = 0.667790822432

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.717e-04  2.213e-03  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  8.414e+00  6.611e+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.979e-01  1.741e-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.250e+00  2.155e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.95
Ra Dec: 140.667 4.578
Photon Index (Free Index): 8.41 +/- 6.61
Photon Flux (Free Index): 7.10e-08 +/- 1.77e-06
Energy Flux (Free Index): 8.16e-06 +/- 2.04e-04

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/152743/cmap_HighResolution_318902401_319161601_4FGL_J0922.6+0434_daily_bin307.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.09e-02', comment='SUCCESS', energy_flux2='8.16e-06', dlogl='6.68e-01', photon_flux2='7.10e-08', job_status='DONE', time_completed='2021-08-31 08:15:01.299187', photon_index_error2='6.61', photon_index2='8.41', ts='0.52', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', photon_flux_upper_limit='1.41e-07', energy_flux_error2='2.04e-04', EG='1.32', time_epoch_completed='1630422901.3', return_code='0', job_id='152743', GAL2='0.80', EG2='1.25', return_code2='102', photon_flux_error2='1.77e-06', ts2='1.95', photon_index='2.49' WHERE bin_id='307' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:15:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 152743: <4FGL_J0922.6+0434_daily_bin307> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin307 140.667 4.5781 318902401 319161601 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 :                                   720.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             182.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            939 sec.

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

