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


Performing analysis on: 4FGL_J0922.6+0434_daily_bin743
RA = 140.667, Dec = 4.5781
tmin = 431913601, tmax = 432172801
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='156569', job_status='RUN', time_executed='2021-08-31 08:11:35.593241', time_epoch_executed='1630422695.59' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='743'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/156569

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/156569/ft1_4FGL_J0922.6+0434_daily_bin743.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/156569/ft2_4FGL_J0922.6+0434_daily_bin743.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/156569/ft1_4FGL_J0922.6+0434_daily_bin743.fits outfile=/scratch/kocevski/156569/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin743.fits ra=140.667 dec=4.5781 rad=12.0 tmin=431913601.0 tmax=432172801.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.29
user 4.96
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/156569/ft2_4FGL_J0922.6+0434_daily_bin743.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/156569/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin743.fits evtable="EVENTS" outfile="/scratch/kocevski/156569/ft1_filtered_4FGL_J0922.6+0434_daily_bin743.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.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/156569/ft1_filtered_4FGL_J0922.6+0434_daily_bin743.fits" evtable="EVENTS" scfile=/scratch/kocevski/156569/ft2_4FGL_J0922.6+0434_daily_bin743.fits sctable="SC_DATA" outfile=/scratch/kocevski/156569/ltcube_431913601_432172801_4FGL_J0922.6+0434_daily_bin743.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/156569/ft2_4FGL_J0922.6+0434_daily_bin743.fits
.....................!
real 11.77
user 11.39
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/156569/ft1_filtered_4FGL_J0922.6+0434_daily_bin743.fits evtable="EVENTS" scfile=/scratch/kocevski/156569/ft2_4FGL_J0922.6+0434_daily_bin743.fits sctable="SC_DATA" expcube=/scratch/kocevski/156569/ltcube_431913601_432172801_4FGL_J0922.6+0434_daily_bin743.fits outfile=/scratch/kocevski/156569/expmap_431913601_432172801_4FGL_J0922.6+0434_daily_bin743.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/156569/ltcube_431913601_432172801_4FGL_J0922.6+0434_daily_bin743.fits
.....................!
real 191.38
user 186.43
sys 4.57

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/156569/ft1_filtered_4FGL_J0922.6+0434_daily_bin743.fits scfile=/scratch/kocevski/156569/ft2_4FGL_J0922.6+0434_daily_bin743.fits outfile=/scratch/kocevski/156569/cmap_431913601_432172801_4FGL_J0922.6+0434_daily_bin743.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.59
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/156569/ft1_filtered_4FGL_J0922.6+0434_daily_bin743.fits scfile=/scratch/kocevski/156569/ft2_4FGL_J0922.6+0434_daily_bin743.fits outfile=/scratch/kocevski/156569/cmap_HighResolution_431913601_432172801_4FGL_J0922.6+0434_daily_bin743.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.60
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10148E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12187E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.4705       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .20972E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.1739       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.138       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.1228       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .89400       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=   5457.152     FROM MIGRAD    STATUS=CONVERGED    254 CALLS      982 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.1548        .90712E-02** at limit **
   2  norm          .10000E-03    2.0928        .90712E-02** at limit **
   3  norm          .10000E-03    1.5465        .90712E-02** at limit **
   4  norm          .10000E-03    5.3112        .90712E-02** at limit **
   5  Prefactor     .10000E-03    14.917        .90839E-01** at limit **
   6  Prefactor     3.4702        2.5757        .54268E-02    .12134E-04
   7  Prefactor     .10000E-03    17.273        .90712E-02** at limit **
   8  Prefactor     .10000E-03    14.688        .90712E-02** at limit **
   9  norm          3.1739        1.3712        .56869E-02    .14044E-04
  10  norm          .10000E-03    .20984        .15795E-01** at limit **
  11  Prefactor     18.085        17.489        .23511E-02    .35382E-03
  12  Normalizat    1.1230        .18322        .54264E-01   -.46139E-04
  13  Prefactor     .89398        .14793        .44929E-01   -.39020E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.47019
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.17391
  norm       = 0.0001
  Prefactor  = 18.0847
  Normalizat = 1.12297
  Prefactor  = 0.893985
 **********
 **   18 **HESSE 
 **********

 FCN=   5457.152     FROM HESSE     STATUS=OK           153 CALLS     1135 TOTAL
                     EDM=   .39E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.1592        .10590E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.0947        .10437E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.5741        .89685E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    5.4702        .33232E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    19.071        .77632E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.4702        2.5775        .98898E-04   -1.5335    
   7  Prefactor     .10000E-03    17.297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.1739        1.3713        .54918E-04   -1.5352    
  10  norm          .10000E-03    .25283        .65596E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.085        17.526        .47022E-03   -1.4857    
  12  Normalizat    1.1230        .21758        .23994E-03   -.89018    
  13  Prefactor     .89398        .17581        .21833E-03   -.96352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.88771e-12
Minuit parameter uncertainties:
  1  2.10365e-07
  2  5.30422e-07
  3  6.35142e-07
  4  2.5211e-07
  5  1.63377e-05
  6  2.57754
  7  6.86301e-06
  8  8.22644e-06
  9  1.37131
  10  2.1234e-08
  11  17.5311
  12  0.217753
  13  0.175924
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  3.470e+00  2.578e+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:  8.940e-01  1.759e-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.123e+00  2.178e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.29
Ra Dec: 140.667 4.578
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 3.80e-08 +/- 2.82e-08
Energy Flux (Fixed Index): 1.12e-05 +/- 8.29e-06

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) = 5456.51658351
delta logL = 0.635827488491

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5456.49483916
delta logL = 0.657571837769

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0414       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7734       1.0000          .0000       10.000    
     3 'Normalizat'    1.1444       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88377       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=   5456.495     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      206 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0418        3.2636        .50145E-02   -.15087E-03
   2  Index         1.7735        .49049        .22764       -.32672E-04
   3  Normalizat    1.1443        .17960        .53814E-01    .49442E-05
   4  Prefactor     .88378        .14790        .44798E-01    .73353E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.04181
  Index      = 1.77348
  Normalizat = 1.14434
  Prefactor  = 0.883775
 **********
 **   18 **HESSE 
 **********

 FCN=   5456.495     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0418        3.1219        .10835E-03   -1.5306    
   2  Index         1.7735        .54974        .85594E-02   -.70142    
   3  Normalizat    1.1443        .21259        .23794E-03   -.88341    
   4  Prefactor     .88378        .17533        .21940E-03   -.96710    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19476e-12
Minuit parameter uncertainties:
  1  3.12207
  2  0.551658
  3  0.212749
  4  0.175444
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/156569': 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) = 5456.49483913
delta logL = 0.657571869584

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  4.042e+00  3.122e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  1.773e+00  5.517e-01  0.000e+00  1.000e+01 (-1.000e+00)
238        Scale:  7.737e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
461    Prefactor:  8.838e-01  1.754e-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.144e+00  2.127e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.61
Ra Dec: 140.667 4.578
Photon Index (Free Index): 1.77 +/- 0.55
Photon Flux (Free Index): 1.96e-08 +/- 1.91e-08
Energy Flux (Free Index): 2.54e-05 +/- 3.31e-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/156569/cmap_HighResolution_431913601_432172801_4FGL_J0922.6+0434_daily_bin743.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.80e-08', energy_flux2='2.54e-05', photon_flux_error='2.82e-08', dlogl='6.58e-01', energy_flux='1.12e-05', photon_flux2='1.96e-08', job_status='DONE', time_completed='2021-08-31 08:18:44.650474', photon_index_error2='0.55', photon_index2='1.77', ts='5.29', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='3.31e-05', EG='1.12', time_epoch_completed='1630423124.65', return_code='0', job_id='156569', GAL2='0.88', EG2='1.14', return_code2='0', energy_flux_error='8.29e-06', photon_flux_error2='1.91e-08', ts2='6.61', photon_index='2.49' WHERE bin_id='743' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:18:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0133>
Subject: Job 156569: <4FGL_J0922.6+0434_daily_bin743> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin743 140.667 4.5781 431913601 432172801 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 :                                   425.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             281.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   445 sec.
    Turnaround time :                            447 sec.

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

