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


Performing analysis on: 4FGL_J0922.6+0434_daily_bin940
RA = 140.667, Dec = 4.5781
tmin = 482976001, tmax = 483235201
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='156863', job_status='RUN', time_executed='2021-08-31 08:16:06.110194', time_epoch_executed='1630422966.11' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='940'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/156863

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/156863/ft1_4FGL_J0922.6+0434_daily_bin940.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/156863/ft2_4FGL_J0922.6+0434_daily_bin940.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/156863/ft1_4FGL_J0922.6+0434_daily_bin940.fits outfile=/scratch/kocevski/156863/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin940.fits ra=140.667 dec=4.5781 rad=12.0 tmin=482976001.0 tmax=483235201.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 10.31
user 3.91
sys 6.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/156863/ft1_filtered_4FGL_J0922.6+0434_daily_bin940.fits" evtable="EVENTS" scfile=/scratch/kocevski/156863/ft2_4FGL_J0922.6+0434_daily_bin940.fits sctable="SC_DATA" outfile=/scratch/kocevski/156863/ltcube_482976001_483235201_4FGL_J0922.6+0434_daily_bin940.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/156863/ft2_4FGL_J0922.6+0434_daily_bin940.fits
.....................!
real 22.38
user 13.87
sys 8.09

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/156863/ft1_filtered_4FGL_J0922.6+0434_daily_bin940.fits evtable="EVENTS" scfile=/scratch/kocevski/156863/ft2_4FGL_J0922.6+0434_daily_bin940.fits sctable="SC_DATA" expcube=/scratch/kocevski/156863/ltcube_482976001_483235201_4FGL_J0922.6+0434_daily_bin940.fits outfile=/scratch/kocevski/156863/expmap_482976001_483235201_4FGL_J0922.6+0434_daily_bin940.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/156863/ltcube_482976001_483235201_4FGL_J0922.6+0434_daily_bin940.fits
.....................!
real 200.76
user 185.95
sys 12.39

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/156863/ft1_filtered_4FGL_J0922.6+0434_daily_bin940.fits scfile=/scratch/kocevski/156863/ft2_4FGL_J0922.6+0434_daily_bin940.fits outfile=/scratch/kocevski/156863/cmap_482976001_483235201_4FGL_J0922.6+0434_daily_bin940.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 6.55
user 0.38
sys 5.96

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/156863/ft1_filtered_4FGL_J0922.6+0434_daily_bin940.fits scfile=/scratch/kocevski/156863/ft2_4FGL_J0922.6+0434_daily_bin940.fits outfile=/scratch/kocevski/156863/cmap_HighResolution_482976001_483235201_4FGL_J0922.6+0434_daily_bin940.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 6.61
user 0.40
sys 6.04

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10065E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10082E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .23904       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.3940       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.7965       1.0000         .10000E-03   10000.    
    10 'norm      '    .91414       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'Normalizat'    .88898       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.1111       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=   5709.602     FROM MIGRAD    STATUS=CONVERGED    238 CALLS      929 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.2764        .90712E-02** at limit **
   2  norm          .10000E-03    1.6457        .90712E-02** at limit **
   3  norm          .10000E-03    2.3678        .90712E-02** at limit **
   4  norm          .10000E-03    3.1199        .90712E-02** at limit **
   5  Prefactor     .15519        14.949        .10154        .13972E-03
   6  Prefactor     1.3909        5.5041        .91964E-02   -.16620E-02
   7  Prefactor     .10000E-03    9.6402        .90712E-02** at limit **
   8  Prefactor     .10000E-03    15.670        .90712E-02** at limit **
   9  norm          4.7954        1.9641        .45925E-02    .77640E-04
  10  norm          .91368        .73516        .12013E-01    .86559E-03
  11  Prefactor     .10000E-03    3.9138        .90712E-02** at limit **
  12  Normalizat    .88921        .20644        .44761E-01   -.74597E-04
  13  Prefactor     1.1112        .15819        .37178E-01   -.98539E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.15519
  Prefactor  = 1.39095
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.79542
  norm       = 0.913683
  Prefactor  = 0.0001
  Normalizat = 0.889206
  Prefactor  = 1.11117
 **********
 **   18 **HESSE 
 **********

 FCN=   5709.602     FROM HESSE     STATUS=OK           151 CALLS     1080 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.2787        .11134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.6457        .94670E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.4462        .22692E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.1634        .13030E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .15519        21.803        .80203E-01   -1.5629    
   6  Prefactor     1.3909        5.4602        .31042E-03   -1.5472    
   7  Prefactor     .10000E-03    9.6439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.7954        1.9675        .63755E-04   -1.5270    
  10  norm          .91368        .71220        .54499E-03   -1.5517    
  11  Prefactor     .10000E-03    3.9163        .14600E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    .88921        .23578        .27911E-03   -.96840    
  13  Prefactor     1.1112        .18278        .20797E-03   -.89111    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49168e-08
Minuit parameter uncertainties:
  1  4.2358e-07
  2  1.95854e-07
  3  3.219e-06
  4  2.74582e-06
  5  3.67905
  6  5.46212
  7  3.11118e-05
  8  5.50116e-05
  9  1.96757
  10  0.712206
  11  4.19343e-06
  12  0.236054
  13  0.182887
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  1.391e+00  5.462e+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:  1.111e+00  1.829e-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:  8.892e-01  2.361e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/156863/likelihoodResults_482976001_483235201_4FGL_J0922.6+0434_daily_bin940.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) = 5707.25979788
delta logL = 2.34220866405

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5707.21639922
delta logL = 2.38560731469

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21293       1.0000         .10000E-03   10000.    
     2 'Index     '    5.0894       1.0000          .0000       10.000    
     3 'Normalizat'    .69463       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2118       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=   5707.216     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      243 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21269        1.4714        .37336E-02    .15428E-03
   2  Index         5.0901        2.5041        .88433E-01    .97670E-04
   3  Normalizat    .69460        .61865E-01    .70495E-01    .20266E-04
   4  Prefactor     1.2118        .50936E-01    .34358E-01   -.98203E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.212687
  Index      = 5.09007
  Normalizat = 0.694603
  Prefactor  = 1.21176
 **********
 **   18 **HESSE 
 **********

 FCN=   5707.216     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      276 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21269        2.5054        .16724E-04   -1.5616    
   2  Index         5.0901        3.4123        .36152E-02    .18015E-01
   3  Normalizat    .69460        .21343        .31199E-03   -1.0411    
   4  Prefactor     1.2118        .17134        .20005E-03   -.85970    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.67055e-10
Minuit parameter uncertainties:
  1  1.45968
  2  3.75579
  3  0.213682
  4  0.171421
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/156863': 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) = 5707.21639909
delta logL = 2.38560744422

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  2.127e-01  1.460e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  5.090e+00  3.756e+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.212e+00  1.714e-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:  6.946e-01  2.137e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.59
Ra Dec: 140.667 4.578
Photon Index (Free Index): 5.09 +/- 3.76
Photon Flux (Free Index): 1.75e-07 +/- 9.07e-08
Energy Flux (Free Index): 2.30e-05 +/- 1.47e-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/156863/cmap_HighResolution_482976001_483235201_4FGL_J0922.6+0434_daily_bin940.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', comment='SUCCESS', energy_flux2='2.30e-05', dlogl='2.39e+00', photon_flux2='1.75e-07', job_status='DONE', time_completed='2021-08-31 08:25:21.521425', photon_index_error2='3.76', photon_index2='5.09', ts='0.07', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.42e-07', energy_flux_error2='1.47e-05', EG='0.89', time_epoch_completed='1630423521.52', return_code='0', job_id='156863', GAL2='1.21', EG2='0.69', return_code2='102', photon_flux_error2='9.07e-08', ts2='5.59', photon_index='2.49' WHERE bin_id='940' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:25:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 156863: <4FGL_J0922.6+0434_daily_bin940> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin940 140.667 4.5781 482976001 483235201 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 :                                   629.29 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             242.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            827 sec.

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

