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


Performing analysis on: 4FGL_J0909.1+0121_daily_bin840
RA = 137.297, Dec = 1.3557
tmin = 457056001, tmax = 457315201
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='28131', job_status='RUN', time_executed='2021-08-31 01:45:54.921519', time_epoch_executed='1630399554.92' WHERE source_name='4FGL J0909.1+0121' and cadence='daily' and bin_id='840'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28131

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28131/ft1_4FGL_J0909.1+0121_daily_bin840.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28131/ft2_4FGL_J0909.1+0121_daily_bin840.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28131/ft1_4FGL_J0909.1+0121_daily_bin840.fits outfile=/scratch/kocevski/28131/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin840.fits ra=137.297 dec=1.3557 rad=12.0 tmin=457056001.0 tmax=457315201.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 6.40
user 4.13
sys 2.10

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/28131/ft2_4FGL_J0909.1+0121_daily_bin840.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/28131/ft2_4FGL_J0909.1+0121_daily_bin840.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/28131/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin840.fits evtable="EVENTS" outfile="/scratch/kocevski/28131/ft1_filtered_4FGL_J0909.1+0121_daily_bin840.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 2.92
user 0.33
sys 2.02

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28131/ft1_filtered_4FGL_J0909.1+0121_daily_bin840.fits" evtable="EVENTS" scfile=/scratch/kocevski/28131/ft2_4FGL_J0909.1+0121_daily_bin840.fits sctable="SC_DATA" outfile=/scratch/kocevski/28131/ltcube_457056001_457315201_4FGL_J0909.1+0121_daily_bin840.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/28131/ft2_4FGL_J0909.1+0121_daily_bin840.fits
.....................!
real 14.47
user 11.65
sys 2.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28131/ft1_filtered_4FGL_J0909.1+0121_daily_bin840.fits evtable="EVENTS" scfile=/scratch/kocevski/28131/ft2_4FGL_J0909.1+0121_daily_bin840.fits sctable="SC_DATA" expcube=/scratch/kocevski/28131/ltcube_457056001_457315201_4FGL_J0909.1+0121_daily_bin840.fits outfile=/scratch/kocevski/28131/expmap_457056001_457315201_4FGL_J0909.1+0121_daily_bin840.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/28131/ltcube_457056001_457315201_4FGL_J0909.1+0121_daily_bin840.fits
.....................!
real 194.91
user 186.18
sys 6.87

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 152 point sources and 0 extended sources

Setting source of interest to:
4FGL J0909.1+0121 @ 137.297 1.3557

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/28131/ft1_filtered_4FGL_J0909.1+0121_daily_bin840.fits scfile=/scratch/kocevski/28131/ft2_4FGL_J0909.1+0121_daily_bin840.fits outfile=/scratch/kocevski/28131/cmap_457056001_457315201_4FGL_J0909.1+0121_daily_bin840.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=137.297 yref=1.3557 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 2.52
user 0.37
sys 1.95

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28131/ft1_filtered_4FGL_J0909.1+0121_daily_bin840.fits scfile=/scratch/kocevski/28131/ft2_4FGL_J0909.1+0121_daily_bin840.fits outfile=/scratch/kocevski/28131/cmap_HighResolution_457056001_457315201_4FGL_J0909.1+0121_daily_bin840.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=137.297 yref=1.3557 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 2.92
user 0.38
sys 1.98

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/28131/ft1_filtered_4FGL_J0909.1+0121_daily_bin840.fits evtable="EVENTS" scfile=/scratch/kocevski/28131/ft2_4FGL_J0909.1+0121_daily_bin840.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/28131/Model_4FGL_J0909.1+0121_daily_bin840.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/28131/ft1_filtered_4FGL_J0909.1+0121_daily_bin840.fits.....................!
real 58.71
user 48.00
sys 3.74

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/28131/ft1_filtered_4FGL_J0909.1+0121_daily_bin840.fits', '/scratch/kocevski/28131/ft2_4FGL_J0909.1+0121_daily_bin840.fits', expMap='/scratch/kocevski/28131/expmap_457056001_457315201_4FGL_J0909.1+0121_daily_bin840.fits', expCube='/scratch/kocevski/28131/ltcube_457056001_457315201_4FGL_J0909.1+0121_daily_bin840.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/28131/Model_4FGL_J0909.1+0121_daily_bin840.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0909.1+0121'

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  5.916e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.491e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  9.911e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  8.036e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/28131/ft1_filtered_4FGL_J0909.1+0121_daily_bin840.fits
Spacecraft file(s): /scratch/kocevski/28131/ft2_4FGL_J0909.1+0121_daily_bin840.fits
Exposure map: /scratch/kocevski/28131/expmap_457056001_457315201_4FGL_J0909.1+0121_daily_bin840.fits
Exposure cube: /scratch/kocevski/28131/ltcube_457056001_457315201_4FGL_J0909.1+0121_daily_bin840.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/28131/Model_4FGL_J0909.1+0121_daily_bin840.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) = 4454.41919107

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.1817       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.1710       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    8.5244       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.5412       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.260       1.0000         .10000E-03   10000.    
    10 'norm      '    .96783       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.0430       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .97108       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4454.038     FROM MIGRAD    STATUS=CONVERGED    203 CALLS      838 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .36426       -.74561E-08** at limit **
   2  norm          4.1801        7.4928        .38967E-05    .82218E-04
   3  Prefactor     8.1690        10.685        .36808E-05    .94427E-04
   4  norm          .10000E-03    1.7080        .10331E-07** at limit **
   5  norm          8.5240        6.7454       -.48470E-06   -.55969E-04
   6  Prefactor     .10000E-03    7.7242       -.80969E-08** at limit **
   7  Prefactor     2.5402        1.6871        .25585E-06   -.25871E-02
   8  Prefactor     .10000E-03    52.034       -.51593E-06** at limit **
   9  Prefactor     21.260        16.698        .53661E-07   -.93756E-05
  10  norm          .96770        .83272        .53623E-07   -.11456E-03
  11  Normalizat    1.0433        .21565       -.31091E-06   -.41399E-04
  12  Prefactor     .97088        .17232       -.91745E-06    .11280E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 4.18005
  Prefactor  = 8.16895
  norm       = 0.0001
  norm       = 8.52403
  Prefactor  = 0.0001
  Prefactor  = 2.54023
  Prefactor  = 0.0001
  Prefactor  = 21.26
  norm       = 0.967696
  Normalizat = 1.04325
  Prefactor  = 0.970876
 **********
 **   18 **HESSE 
 **********

 FCN=   4454.038     FROM HESSE     STATUS=OK           133 CALLS      971 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .37782        .78609E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1801        7.4901        .19709E-03   -1.5299    
   3  Prefactor     8.1690        10.683        .14026E-03   -1.5136    
   4  norm          .10000E-03    1.7217        .85156E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          8.5240        6.7537        .13730E-03   -1.5124    
   6  Prefactor     .10000E-03    7.7354        .18116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.5402        4.2808        .84105E-03   -1.5389    
   8  Prefactor     .10000E-03    52.341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     21.260        16.716        .86868E-04   -1.4785    
  10  norm          .96770        .80856        .53186E-03   -1.5511    
  11  Normalizat    1.0433        .25457        .25694E-03   -.91595    
  12  Prefactor     .97088        .20102        .21385E-03   -.93707    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.03212e-09
Minuit parameter uncertainties:
  1  8.88348e-07
  2  7.49179
  3  10.6852
  4  2.19677e-06
  5  6.75435
  6  2.04265e-06
  7  4.28136
  8  2.15818e-05
  9  16.7195
  10  0.808566
  11  0.254871
  12  0.201179
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.000e-04  2.197e-06  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.491e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  9.911e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  8.036e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  9.709e-01  2.012e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.043e+00  2.549e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 137.297 1.356
Photon Flux Upper Limit: 7.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.17e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/28131/likelihoodResults_457056001_457315201_4FGL_J0909.1+0121_daily_bin840.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4454.04085867
delta logL = -0.00274837263532

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4454.03811024
delta logL = 6.00184648647e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4770       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0433       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97090       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+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=   4454.038     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      230 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    118.39        .85801E-02** at limit **
   2  alpha         2.0173        3.7738        .16462        .31147E-07
   3  Normalizat    1.0433        .44755E-01    .25694E-03    .85972E-04
   4  Prefactor     .97088        .36247E-01    .21385E-03    .11872E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.0173
  Normalizat = 1.04325
  Prefactor  = 0.970875
 **********
 **   18 **HESSE 
 **********

 FCN=   4454.038     FROM HESSE     STATUS=OK            23 CALLS      253 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.9753        .91392E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0173        2.8670        .65846E-02   -.19430    
   3  Normalizat    1.0433        .24648        .10277E-04   -.91595    
   4  Prefactor     .97088        .19971        .42770E-04   -.93707    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10162e-11
Minuit parameter uncertainties:
  1  4.18675e-06
  2  175.519
  3  0.24675
  4  0.19986
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28131': 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) = 4454.0381066
delta logL = 3.70238558389e-06

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.000e-04  4.187e-06  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.017e+00  1.755e+02  0.000e+00  5.000e+00 ( 1.000e+00)
271         beta:  9.911e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  8.036e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  9.709e-01  1.999e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.043e+00  2.468e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 137.297 1.356

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/28131/cmap_HighResolution_457056001_457315201_4FGL_J0909.1+0121_daily_bin840.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.17e-05', job_status='DONE', photon_flux_upper_limit='7.20e-08', time_completed='2021-08-31 01:53:34.159177', job_id='28131', GAL2='0.97', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1630400014.16', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='3.70e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='840' AND source_name='4FGL J0909.1+0121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:53:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 28131: <4FGL_J0909.1+0121_daily_bin840> in cluster <slac> Done

Job <4FGL_J0909.1+0121_daily_bin840> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Tue Aug 31 01:40:47 2021
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:40:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 01:40:49 2021
Terminated at Tue Aug 31 01:53:35 2021
Results reported at Tue Aug 31 01:53:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_daily_bin840 137.297 1.3557 457056001 457315201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0909.1+0121 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   474.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             197.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   765 sec.
    Turnaround time :                            768 sec.

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

