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


Performing analysis on: 4FGL_J0922.6+0434_daily_bin752
RA = 140.667, Dec = 4.5781
tmin = 434246401, tmax = 434505601
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='156581', job_status='RUN', time_executed='2021-08-31 08:15:17.165787', time_epoch_executed='1630422917.17' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/156581

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/156581/ft1_4FGL_J0922.6+0434_daily_bin752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/156581/ft2_4FGL_J0922.6+0434_daily_bin752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/156581/ft1_4FGL_J0922.6+0434_daily_bin752.fits outfile=/scratch/kocevski/156581/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin752.fits ra=140.667 dec=4.5781 rad=12.0 tmin=434246401.0 tmax=434505601.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 7.10
user 5.69
sys 1.38

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/156581/ft1_filtered_4FGL_J0922.6+0434_daily_bin752.fits" evtable="EVENTS" scfile=/scratch/kocevski/156581/ft2_4FGL_J0922.6+0434_daily_bin752.fits sctable="SC_DATA" outfile=/scratch/kocevski/156581/ltcube_434246401_434505601_4FGL_J0922.6+0434_daily_bin752.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/156581/ft2_4FGL_J0922.6+0434_daily_bin752.fits
.....................!
real 13.30
user 11.67
sys 1.58

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/156581/ft1_filtered_4FGL_J0922.6+0434_daily_bin752.fits evtable="EVENTS" scfile=/scratch/kocevski/156581/ft2_4FGL_J0922.6+0434_daily_bin752.fits sctable="SC_DATA" expcube=/scratch/kocevski/156581/ltcube_434246401_434505601_4FGL_J0922.6+0434_daily_bin752.fits outfile=/scratch/kocevski/156581/expmap_434246401_434505601_4FGL_J0922.6+0434_daily_bin752.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/156581/ltcube_434246401_434505601_4FGL_J0922.6+0434_daily_bin752.fits
.....................!
real 192.33
user 186.10
sys 5.72

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/156581/ft1_filtered_4FGL_J0922.6+0434_daily_bin752.fits scfile=/scratch/kocevski/156581/ft2_4FGL_J0922.6+0434_daily_bin752.fits outfile=/scratch/kocevski/156581/cmap_434246401_434505601_4FGL_J0922.6+0434_daily_bin752.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.50
user 0.35
sys 1.26

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/156581/ft1_filtered_4FGL_J0922.6+0434_daily_bin752.fits scfile=/scratch/kocevski/156581/ft2_4FGL_J0922.6+0434_daily_bin752.fits outfile=/scratch/kocevski/156581/cmap_HighResolution_434246401_434505601_4FGL_J0922.6+0434_daily_bin752.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 3.00
user 0.37
sys 1.21

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.5654       1.0000         .10000E-03   10000.    
     4 'norm      '    11.923       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.0399       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .94700       1.0000         .10000E-03   10000.    
     9 'norm      '    4.3792       1.0000         .10000E-03   10000.    
    10 'norm      '    .20692       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.3322       1.0000         .10000E-03   10000.    
    12 'Normalizat'    .47268       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.3513       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=   3368.657     FROM MIGRAD    STATUS=CONVERGED    229 CALLS      940 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.5776       -.18322E-06** at limit **
   2  norm          .10000E-03    3.6936       -.68295E-07** at limit **
   3  norm          4.5651        5.5371       -.92199E-07   -.16473E-03
   4  norm          11.923        8.5312       -.26903E-07   -.56513E-04
   5  Prefactor     .10000E-03    9.6243       -.21665E-06** at limit **
   6  Prefactor     5.0389        4.0031        .75240E-06   -.11591E-02
   7  Prefactor     .10000E-03    25.379       -.14662E-05** at limit **
   8  Prefactor     .90026        27.723        .50780E-05   -.35034E-03
   9  norm          4.3789        1.9768        .30062E-07    .29658E-04
  10  norm          .20655        .67121       -.21476E-06   -.84379E-03
  11  Prefactor     4.3284        26.240       -.74206E-05   -.31222E-03
  12  Normalizat    .47287        .26079       -.36225E-06   -.90194E-04
  13  Prefactor     1.3512        .21566        .24805E-06   -.80320E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.56512
  norm       = 11.9235
  Prefactor  = 0.0001
  Prefactor  = 5.03887
  Prefactor  = 0.000100001
  Prefactor  = 0.900256
  norm       = 4.3789
  norm       = 0.206551
  Prefactor  = 4.32843
  Normalizat = 0.472869
  Prefactor  = 1.3512
 **********
 **   18 **HESSE 
 **********

 FCN=   3368.657     FROM HESSE     STATUS=OK           151 CALLS     1091 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.6228        .13392E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.6971        .10895E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.5651        5.5247        .14222E-03   -1.5281    
   4  norm          11.923        8.5281        .11601E-03   -1.5017    
   5  Prefactor     .10000E-03    9.6450        .17592E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.0389        5.1481        .62589E-03   -1.5259    
   7  Prefactor     .10000E-03    25.591        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .90026        48.959        .44259E-02   -1.5518    
   9  norm          4.3789        1.9774        .52096E-04   -1.5289    
  10  norm          .20655        .80159        .77803E-03   -1.5617    
  11  Prefactor     4.3284        32.078        .19353E-03   -1.5292    
  12  Normalizat    .47287        .28539        .34391E-03   -1.1369    
  13  Prefactor     1.3512        .23743        .18601E-03   -.81797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.80813e-09
Minuit parameter uncertainties:
  1  2.40392e-05
  2  7.0365e-06
  3  5.52534
  4  8.52899
  5  3.8791e-05
  6  5.14854
  7  0.000378425
  8  13.2886
  9  1.97745
  10  0.801632
  11  23.5843
  12  0.286275
  13  0.237625
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  5.039e+00  5.149e+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.351e+00  2.376e-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:  4.729e-01  2.863e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.47
Ra Dec: 140.667 4.578
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 5.51e-08 +/- 5.63e-08
Energy Flux (Fixed Index): 1.62e-05 +/- 1.66e-05

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

Saving results to:
/scratch/kocevski/156581/likelihoodResults_434246401_434505601_4FGL_J0922.6+0434_daily_bin752.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) = 3368.54180138
delta logL = 0.115235800259

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3368.53243877
delta logL = 0.124598414067

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9487       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1006       1.0000          .0000       10.000    
     3 'Normalizat'    .43380       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3745       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3368.532     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      276 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9482        7.8959        .83659E-04   -.43995E-03
   2  Index         3.1007        1.8466        .61336E-02   -.65490E-04
   3  Normalizat    .43375        .28732        .35842E-03   -.38840E-04
   4  Prefactor     1.3745        .24521        .18466E-03   -.17068E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.94822
  Index      = 3.10065
  Normalizat = 0.433745
  Prefactor  = 1.37455
 **********
 **   18 **HESSE 
 **********

 FCN=   3368.532     FROM HESSE     STATUS=OK            25 CALLS      301 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9482        5.6511        .33464E-05   -1.5365    
   2  Index         3.1007        1.3368        .24534E-03   -.38965    
   3  Normalizat    .43375        .28222        .14337E-04   -1.1559    
   4  Prefactor     1.3745        .24170        .36931E-04   -.81117    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20924e-10
Minuit parameter uncertainties:
  1  5.65214
  2  1.35616
  3  0.283149
  4  0.241903
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/156581': 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) = 3368.53243867
delta logL = 0.124598505121

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  2.948e+00  5.652e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  3.101e+00  1.356e+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.375e+00  2.419e-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:  4.337e-01  2.831e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.77
Ra Dec: 140.667 4.578
Photon Index (Free Index): 3.10 +/- 1.36
Photon Flux (Free Index): 8.00e-08 +/- 8.04e-08
Energy Flux (Free Index): 1.52e-05 +/- 1.40e-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/156581/cmap_HighResolution_434246401_434505601_4FGL_J0922.6+0434_daily_bin752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.41e-02', comment='SUCCESS', photon_flux='5.51e-08', energy_flux2='1.52e-05', photon_flux_error='5.63e-08', dlogl='1.25e-01', energy_flux='1.62e-05', photon_flux2='8.00e-08', job_status='DONE', time_completed='2021-08-31 08:22:23.820592', photon_index_error2='1.36', photon_index2='3.10', ts='1.47', fit_tolerance='1e-08', GAL='1.35', photon_index_error='0.00', photon_flux_upper_limit='1.81e-07', energy_flux_error2='1.40e-05', EG='0.47', time_epoch_completed='1630423343.82', return_code='0', job_id='156581', GAL2='1.37', EG2='0.43', return_code2='0', energy_flux_error='1.66e-05', photon_flux_error2='8.04e-08', ts2='1.77', photon_index='2.49' WHERE bin_id='752' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:22:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0293>
Subject: Job 156581: <4FGL_J0922.6+0434_daily_bin752> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin752 140.667 4.5781 434246401 434505601 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 :                                   431.13 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             230.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   664 sec.
    Turnaround time :                            665 sec.

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

