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


Performing analysis on: 4FGL_J0922.6+0434_daily_bin100
RA = 140.667, Dec = 4.5781
tmin = 265248001, tmax = 265507201
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='152425', job_status='RUN', time_executed='2021-08-31 08:03:52.855061', time_epoch_executed='1630422232.86' WHERE source_name='4FGL J0922.6+0434' and cadence='daily' and bin_id='100'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/152425

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/152425/ft1_4FGL_J0922.6+0434_daily_bin100.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/152425/ft2_4FGL_J0922.6+0434_daily_bin100.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/152425/ft1_4FGL_J0922.6+0434_daily_bin100.fits outfile=/scratch/kocevski/152425/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin100.fits ra=140.667 dec=4.5781 rad=12.0 tmin=265248001.0 tmax=265507201.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.63
user 1.79
sys 3.80

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/152425/ft2_4FGL_J0922.6+0434_daily_bin100.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/152425/ft1_filteredMKT_4FGL_J0922.6+0434_daily_bin100.fits evtable="EVENTS" outfile="/scratch/kocevski/152425/ft1_filtered_4FGL_J0922.6+0434_daily_bin100.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 4.17
user 0.33
sys 3.81

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/152425/ft1_filtered_4FGL_J0922.6+0434_daily_bin100.fits" evtable="EVENTS" scfile=/scratch/kocevski/152425/ft2_4FGL_J0922.6+0434_daily_bin100.fits sctable="SC_DATA" outfile=/scratch/kocevski/152425/ltcube_265248001_265507201_4FGL_J0922.6+0434_daily_bin100.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/152425/ft2_4FGL_J0922.6+0434_daily_bin100.fits
.....................!
real 17.71
user 12.99
sys 4.63

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/152425/ft1_filtered_4FGL_J0922.6+0434_daily_bin100.fits evtable="EVENTS" scfile=/scratch/kocevski/152425/ft2_4FGL_J0922.6+0434_daily_bin100.fits sctable="SC_DATA" expcube=/scratch/kocevski/152425/ltcube_265248001_265507201_4FGL_J0922.6+0434_daily_bin100.fits outfile=/scratch/kocevski/152425/expmap_265248001_265507201_4FGL_J0922.6+0434_daily_bin100.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/152425/ltcube_265248001_265507201_4FGL_J0922.6+0434_daily_bin100.fits
.....................!
real 195.41
user 185.07
sys 9.86

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/152425/ft1_filtered_4FGL_J0922.6+0434_daily_bin100.fits scfile=/scratch/kocevski/152425/ft2_4FGL_J0922.6+0434_daily_bin100.fits outfile=/scratch/kocevski/152425/cmap_265248001_265507201_4FGL_J0922.6+0434_daily_bin100.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 4.21
user 0.38
sys 3.74

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/152425/ft1_filtered_4FGL_J0922.6+0434_daily_bin100.fits scfile=/scratch/kocevski/152425/ft2_4FGL_J0922.6+0434_daily_bin100.fits outfile=/scratch/kocevski/152425/cmap_HighResolution_265248001_265507201_4FGL_J0922.6+0434_daily_bin100.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 4.27
user 0.38
sys 3.86

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.7703       1.0000         .10000E-03   10000.    
     2 'norm      '    7.7395       1.0000         .10000E-03   10000.    
     3 'norm      '    11.946       1.0000         .10000E-03   10000.    
     4 'norm      '    .52875       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.5368       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .21340E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11137E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.9571       1.0000         .10000E-03   10000.    
    10 'norm      '    1.1813       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2346       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.4657       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .96981       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=   10708.49     FROM MIGRAD    STATUS=CONVERGED    220 CALLS      912 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.7520        5.2899       -.23275E-06    .18042E-02
   2  norm          7.7128        6.8549       -.79753E-09   -.14048E-03
   3  norm          11.942        3.9002        .68962E-07   -.17456E-02
   4  norm          .53015        1.6434       -.10780E-05   -.10222E-02
   5  Prefactor     .10000E-03    3.8348        .52704E-07** at limit **
   6  Prefactor     2.5365        2.2769       -.41937E-07   -.27596E-03
   7  Prefactor     .10000E-03    6.5565        .10014E-06** at limit **
   8  Prefactor     .10000E-03    2.8708        .40408E-07** at limit **
   9  norm          1.9572        1.1579       -.17251E-07   -.80920E-03
  10  norm          1.1810        .51370        .18867E-07   -.43124E-02
  11  Prefactor     1.2215        12.250       -.15679E-05    .20534E-03
  12  Normalizat    1.4657        .15862        .29169E-06   -.56215E-03
  13  Prefactor     .96988        .12923       -.74403E-08   -.30866E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.75197
  norm       = 7.71279
  norm       = 11.9424
  norm       = 0.530146
  Prefactor  = 0.0001
  Prefactor  = 2.53648
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.95716
  norm       = 1.18103
  Prefactor  = 1.22148
  Normalizat = 1.46569
  Prefactor  = 0.969883
 **********
 **   18 **HESSE 
 **********

 FCN=   10708.49     FROM HESSE     STATUS=OK           147 CALLS     1059 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.7520        5.2369        .14385E-03   -1.5151    
   2  norm          7.7128        6.8574        .14414E-03   -1.5152    
   3  norm          11.942        3.8930        .11170E-03   -1.5017    
   4  norm          .53015        4.1595        .40287E-03   -1.5562    
   5  Prefactor     .10000E-03    3.8418        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5365        2.2766        .14282E-03   -1.5389    
   7  Prefactor     .10000E-03    6.5562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.8765        .17120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.9572        1.1548        .81561E-04   -1.5428    
  10  norm          1.1810        .50365        .46570E-04   -1.5491    
  11  Prefactor     1.2215        13.713        .40425E-03   -1.5487    
  12  Normalizat    1.4657        .18636        .25928E-03   -.78747    
  13  Prefactor     .96988        .15188        .25479E-03   -.93740    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.05467e-09
Minuit parameter uncertainties:
  1  5.2372
  2  6.85813
  3  3.89309
  4  2.96996
  5  2.90588e-05
  6  2.27665
  7  7.58893e-05
  8  2.28268e-05
  9  1.15483
  10  0.503647
  11  8.18746
  12  0.186448
  13  0.15195
Done.

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

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  2.536e+00  2.277e+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.699e-01  1.520e-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.466e+00  1.864e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.31
Ra Dec: 140.667 4.578
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 2.78e-08 +/- 2.49e-08
Energy Flux (Fixed Index): 8.16e-06 +/- 7.32e-06

TS (Fixed Index): 2.31
Ra Dec: 140.667 4.578
Photon Flux Upper Limit: 8.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/152425/likelihoodResults_265248001_265507201_4FGL_J0922.6+0434_daily_bin100.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) = 10707.9938825
delta logL = 0.499463988719

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10707.9912251
delta logL = 0.502121384872

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6145       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8104       1.0000          .0000       10.000    
     3 'Normalizat'    1.4806       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96417       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=   10707.99     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      203 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6146        3.3001        .63064E-02   -.44371E-02
   2  Index         1.8104        .59375        .27009       -.94264E-04
   3  Normalizat    1.4807        .15640        .58393E-01    .55414E-04
   4  Prefactor     .96402        .12881        .45818E-01    .20777E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.61458
  Index      = 1.81043
  Normalizat = 1.4807
  Prefactor  = 0.964019
 **********
 **   18 **HESSE 
 **********

 FCN=   10707.99     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6146        2.8828        .15532E-03   -1.5385    
   2  Index         1.8104        .66837        .11759E-01   -.69179    
   3  Normalizat    1.4807        .18344        .25822E-03   -.78322    
   4  Prefactor     .96402        .15116        .25547E-03   -.93939    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.05041e-09
Minuit parameter uncertainties:
  1  2.88297
  2  0.67177
  3  0.183523
  4  0.151228
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/152425': 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) = 10707.9912243
delta logL = 0.502122237129

Extracting fit parameters...

4FGL J0922.6+0434
   Spectrum: PowerLaw
236    Prefactor:  2.615e+00  2.883e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  1.810e+00  6.718e-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.640e-01  1.512e-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.481e+00  1.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.32
Ra Dec: 140.667 4.578
Photon Index (Free Index): 1.81 +/- 0.67
Photon Flux (Free Index): 1.31e-08 +/- 1.92e-08
Energy Flux (Free Index): 1.52e-05 +/- 1.97e-05

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/152425/cmap_HighResolution_265248001_265507201_4FGL_J0922.6+0434_daily_bin100.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.70e-03', comment='SUCCESS', photon_flux='2.78e-08', energy_flux2='1.52e-05', photon_flux_error='2.49e-08', dlogl='5.02e-01', energy_flux='8.16e-06', photon_flux2='1.31e-08', job_status='DONE', time_completed='2021-08-31 08:14:07.542676', photon_index_error2='0.67', photon_index2='1.81', ts='2.31', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='8.62e-08', energy_flux_error2='1.97e-05', EG='1.47', time_epoch_completed='1630422847.54', return_code='0', job_id='152425', GAL2='0.96', EG2='1.48', return_code2='0', energy_flux_error='7.32e-06', photon_flux_error2='1.92e-08', ts2='3.32', photon_index='2.49' WHERE bin_id='100' AND source_name='4FGL J0922.6+0434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 08:14:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 152425: <4FGL_J0922.6+0434_daily_bin100> in cluster <slac> Done

Job <4FGL_J0922.6+0434_daily_bin100> 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) <bullet0245>, 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:14:08 2021
Results reported at Tue Aug 31 08:14:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+0434_daily_bin100 140.667 4.5781 265248001 265507201 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 :                                   666.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             225.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   908 sec.
    Turnaround time :                            909 sec.

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

