/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 218 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 = 7484
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0922.6+0434_daily_bin99
RA = 140.667, Dec = 4.5781
tmin = 264988801, tmax = 265248001
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='152424', job_status='RUN', time_executed='2021-08-31 08:03:20.809041', time_epoch_executed='1630422200.81' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='99'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/152424

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/152424/ft1_4FGL_J0922.6+0434_daily_bin99.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/152424/ft2_4FGL_J0922.6+0434_daily_bin99.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/152424/ft1_4FGL_J0922.6+0434_daily_bin99.fits outfile=/scratch/kocevski/152424/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin99.fits ra=140.667 dec=4.5781 rad=12.0 tmin=264988801.0 tmax=265248001.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 2.49
user 1.27
sys 0.98

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/152424/ft1_filtered_4FGL_J0922.6+0434_daily_bin99.fits" evtable="EVENTS" scfile=/scratch/kocevski/152424/ft2_4FGL_J0922.6+0434_daily_bin99.fits sctable="SC_DATA" outfile=/scratch/kocevski/152424/ltcube_264988801_265248001_4FGL_J0922.6+0434_daily_bin99.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/152424/ft2_4FGL_J0922.6+0434_daily_bin99.fits
.....................!
real 14.94
user 13.47
sys 1.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/152424/ft1_filtered_4FGL_J0922.6+0434_daily_bin99.fits evtable="EVENTS" scfile=/scratch/kocevski/152424/ft2_4FGL_J0922.6+0434_daily_bin99.fits sctable="SC_DATA" expcube=/scratch/kocevski/152424/ltcube_264988801_265248001_4FGL_J0922.6+0434_daily_bin99.fits outfile=/scratch/kocevski/152424/expmap_264988801_265248001_4FGL_J0922.6+0434_daily_bin99.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/152424/ltcube_264988801_265248001_4FGL_J0922.6+0434_daily_bin99.fits
.....................!
real 192.84
user 185.48
sys 6.43

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/152424/ft1_filtered_4FGL_J0922.6+0434_daily_bin99.fits scfile=/scratch/kocevski/152424/ft2_4FGL_J0922.6+0434_daily_bin99.fits outfile=/scratch/kocevski/152424/cmap_264988801_265248001_4FGL_J0922.6+0434_daily_bin99.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.35
user 0.36
sys 0.96

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/152424/ft1_filtered_4FGL_J0922.6+0434_daily_bin99.fits scfile=/scratch/kocevski/152424/ft2_4FGL_J0922.6+0434_daily_bin99.fits outfile=/scratch/kocevski/152424/cmap_HighResolution_264988801_265248001_4FGL_J0922.6+0434_daily_bin99.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 1.35
user 0.39
sys 0.94

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4177       1.0000         .10000E-03   10000.    
     2 'norm      '    3.8907       1.0000         .10000E-03   10000.    
     3 'norm      '    10.713       1.0000         .10000E-03   10000.    
     4 'norm      '    2.8659       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.6492       1.0000         .10000E-03   10000.    
     7 'Prefactor '    27.443       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .35162E-02   1.0000         .10000E-03   10000.    
    10 'norm      '    1.7198       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .24306       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.1189       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .95953       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=   8876.893     FROM MIGRAD    STATUS=CONVERGED    270 CALLS     1036 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4156        6.5830        .91511E-07    .10013E-04
   2  norm          3.8907        3.6467        .26058E-07   -.55302E-04
   3  norm          10.714        4.5088       -.12829E-06   -.50508E-04
   4  norm          2.8640        4.3366        .39674E-05    .50182E-03
   5  Prefactor     .10000E-03    5.4091       -.74415E-06** at limit **
   6  Prefactor     3.6491        2.7005        .59001E-07   -.39154E-04
   7  Prefactor     27.498        22.527        .88549E-06   -.17867E-03
   8  Prefactor     .10000E-03    2.6008       -.69086E-07** at limit **
   9  norm          .78333E-02    .33378       -.23706E-07    .13291E-03
  10  norm          1.7198        .56326        .62444E-08   -.49930E-03
  11  Prefactor     .14362        10.628       -.51454E-05    .40410E-03
  12  Normalizat    1.1189        .15596       -.98456E-07   -.54285E-04
  13  Prefactor     .95955        .12598       -.67066E-06   -.10461E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.41564
  norm       = 3.89073
  norm       = 10.7144
  norm       = 2.86402
  Prefactor  = 0.000100001
  Prefactor  = 3.64907
  Prefactor  = 27.4976
  Prefactor  = 0.0001
  norm       = 0.00783328
  norm       = 1.71983
  Prefactor  = 0.143625
  Normalizat = 1.11888
  Prefactor  = 0.959551
 **********
 **   18 **HESSE 
 **********

 FCN=   8876.893     FROM HESSE     STATUS=OK           167 CALLS     1203 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4156        6.5806        .17264E-03   -1.5242    
   2  norm          3.8907        3.6519        .17004E-03   -1.5313    
   3  norm          10.714        4.5162        .12225E-03   -1.5053    
   4  norm          2.8640        4.3791        .11758E-02   -1.5369    
   5  Prefactor     .10000E-03    5.4697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.6491        2.7005        .12748E-03   -1.5326    
   7  Prefactor     27.498        22.579        .76474E-04   -1.4659    
   8  Prefactor     .10000E-03    2.6041        .14839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .78333E-02    .99287        .18666E-01   -1.5690    
  10  norm          1.7198        .56075        .38537E-04   -1.5446    
  11  Prefactor     .14362        10.972        .76677E-01   -1.5632    
  12  Normalizat    1.1189        .18544        .25652E-03   -.89148    
  13  Prefactor     .95955        .14861        .22768E-03   -.94090    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05942e-09
Minuit parameter uncertainties:
  1  6.58146
  2  3.65206
  3  4.51635
  4  4.37956
  5  0.000125888
  6  2.70057
  7  22.5864
  8  7.92604e-06
  9  0.175253
  10  0.560751
  11  2.51026
  12  0.185552
  13  0.148673
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  3.649e+00  2.701e+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.596e-01  1.487e-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.119e+00  1.856e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.68
Ra Dec: 140.667 4.578
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 3.99e-08 +/- 2.95e-08
Energy Flux (Fixed Index): 1.17e-05 +/- 8.68e-06

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

Saving results to:
/scratch/kocevski/152424/likelihoodResults_264988801_265248001_4FGL_J0922.6+0434_daily_bin99.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) = 8876.88296522
delta logL = 0.0103054477422

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8876.88079622
delta logL = 0.0124744503319

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8272       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3723       1.0000          .0000       10.000    
     3 'Normalizat'    1.1242       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95685       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=   8876.881     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      201 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8276        64.100        .51576E-02   -.18809E-03
   2  Index         2.3726        6.1560        .24012        .21739E-04
   3  Normalizat    1.1242        .71393E-01    .57888E-01   -.48217E-03
   4  Prefactor     .95685        .44076E-01    .45726E-01   -.55110E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.82755
  Index      = 2.37257
  Normalizat = 1.12422
  Prefactor  = 0.956852
 **********
 **   18 **HESSE 
 **********

 FCN=   8876.881     FROM HESSE     STATUS=OK            29 CALLS      230 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8276        3.0582        .13334E-03   -1.5317    
   2  Index         2.3726        .73435        .97117E-02   -.55329    
   3  Normalizat    1.1242        .18154        .25600E-03   -.88978    
   4  Prefactor     .95685        .14895        .22796E-03   -.94182    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.2564e-10
Minuit parameter uncertainties:
  1  3.05834
  2  0.738045
  3  0.181636
  4  0.149018
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/152424': 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) = 8876.88079609
delta logL = 0.0124745827143

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  3.828e+00  3.058e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  2.373e+00  7.380e-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:  9.569e-01  1.490e-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.124e+00  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.70
Ra Dec: 140.667 4.578
Photon Index (Free Index): 2.37 +/- 0.74
Photon Flux (Free Index): 3.58e-08 +/- 3.68e-08
Energy Flux (Free Index): 1.22e-05 +/- 9.95e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/152424/cmap_HighResolution_264988801_265248001_4FGL_J0922.6+0434_daily_bin99.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.19e-03', comment='SUCCESS', photon_flux='3.99e-08', energy_flux2='1.22e-05', photon_flux_error='2.95e-08', dlogl='1.25e-02', energy_flux='1.17e-05', photon_flux2='3.58e-08', job_status='DONE', time_completed='2021-08-31 08:12:20.263348', photon_index_error2='0.74', photon_index2='2.37', ts='3.68', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='9.95e-06', EG='1.12', time_epoch_completed='1630422740.26', return_code='0', job_id='152424', GAL2='0.96', EG2='1.12', return_code2='0', energy_flux_error='8.68e-06', photon_flux_error2='3.68e-08', ts2='3.70', photon_index='2.49' WHERE bin_id='99' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:12:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 152424: <4FGL_J0922.6+0434_daily_bin99> in cluster <slac> Done

Job <4FGL_J0922.6+0434_daily_bin99> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Tue Aug 31 07:58:59 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 07:59:00 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:00 2021
Terminated at Tue Aug 31 08:12:21 2021
Results reported at Tue Aug 31 08:12:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin99 140.667 4.5781 264988801 265248001 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 :                                   545.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             261.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            802 sec.

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

