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


Performing analysis on: 4FGL_J0909.1+0121_daily_bin620
RA = 137.297, Dec = 1.3557
tmin = 400032001, tmax = 400291201
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='26649', job_status='RUN', time_executed='2021-08-31 01:40:31.153517', time_epoch_executed='1630399231.15' WHERE source_name='4FGL J0909.1+0121' and cadence='daily' and bin_id='620'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/26649

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/26649/ft1_4FGL_J0909.1+0121_daily_bin620.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/26649/ft2_4FGL_J0909.1+0121_daily_bin620.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/26649/ft1_4FGL_J0909.1+0121_daily_bin620.fits outfile=/scratch/kocevski/26649/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin620.fits ra=137.297 dec=1.3557 rad=12.0 tmin=400032001.0 tmax=400291201.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.00
user 4.12
sys 0.58

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/26649/ft1_filtered_4FGL_J0909.1+0121_daily_bin620.fits" evtable="EVENTS" scfile=/scratch/kocevski/26649/ft2_4FGL_J0909.1+0121_daily_bin620.fits sctable="SC_DATA" outfile=/scratch/kocevski/26649/ltcube_400032001_400291201_4FGL_J0909.1+0121_daily_bin620.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/26649/ft2_4FGL_J0909.1+0121_daily_bin620.fits
.....................!
real 12.01
user 11.24
sys 0.74

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/26649/ft1_filtered_4FGL_J0909.1+0121_daily_bin620.fits evtable="EVENTS" scfile=/scratch/kocevski/26649/ft2_4FGL_J0909.1+0121_daily_bin620.fits sctable="SC_DATA" expcube=/scratch/kocevski/26649/ltcube_400032001_400291201_4FGL_J0909.1+0121_daily_bin620.fits outfile=/scratch/kocevski/26649/expmap_400032001_400291201_4FGL_J0909.1+0121_daily_bin620.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/26649/ltcube_400032001_400291201_4FGL_J0909.1+0121_daily_bin620.fits
.....................!
real 190.81
user 185.08
sys 5.35

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/26649/ft1_filtered_4FGL_J0909.1+0121_daily_bin620.fits scfile=/scratch/kocevski/26649/ft2_4FGL_J0909.1+0121_daily_bin620.fits outfile=/scratch/kocevski/26649/cmap_400032001_400291201_4FGL_J0909.1+0121_daily_bin620.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 1.82
user 0.35
sys 0.51

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/26649/ft1_filtered_4FGL_J0909.1+0121_daily_bin620.fits scfile=/scratch/kocevski/26649/ft2_4FGL_J0909.1+0121_daily_bin620.fits outfile=/scratch/kocevski/26649/cmap_HighResolution_400032001_400291201_4FGL_J0909.1+0121_daily_bin620.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 1.58
user 0.38
sys 0.49

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/26649/ft1_filtered_4FGL_J0909.1+0121_daily_bin620.fits', '/scratch/kocevski/26649/ft2_4FGL_J0909.1+0121_daily_bin620.fits', expMap='/scratch/kocevski/26649/expmap_400032001_400291201_4FGL_J0909.1+0121_daily_bin620.fits', expCube='/scratch/kocevski/26649/ltcube_400032001_400291201_4FGL_J0909.1+0121_daily_bin620.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/26649/Model_4FGL_J0909.1+0121_daily_bin620.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/26649/ft1_filtered_4FGL_J0909.1+0121_daily_bin620.fits
Spacecraft file(s): /scratch/kocevski/26649/ft2_4FGL_J0909.1+0121_daily_bin620.fits
Exposure map: /scratch/kocevski/26649/expmap_400032001_400291201_4FGL_J0909.1+0121_daily_bin620.fits
Exposure cube: /scratch/kocevski/26649/ltcube_400032001_400291201_4FGL_J0909.1+0121_daily_bin620.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/26649/Model_4FGL_J0909.1+0121_daily_bin620.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) = 6821.87745927

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6495       1.0000         .10000E-03   10000.    
     2 'norm      '    2.9739       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .71802       1.0000         .10000E-03   10000.    
     5 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.2233       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.6660       1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.542       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .23511E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .92805       1.0000         .10000E-03   10000.    
    11 'Normalizat'    .83912       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.2107       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=   6821.122     FROM MIGRAD    STATUS=CONVERGED    227 CALLS      891 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6495        .94407        .28261E-08   -.33782E-04
   2  norm          2.9754        2.4485        .48694E-06   -.20201E-02
   3  Prefactor     .10000E-03    2.7726       -.21636E-07** at limit **
   4  norm          .71911        2.5987       -.19335E-07   -.21708E-03
   5  norm          .10000E-03    1.6604       -.32011E-07** at limit **
   6  Prefactor     4.2060        15.230       -.36472E-05   -.35334E-04
   7  Prefactor     2.6660        3.9593        .69519E-07   -.36224E-04
   8  Prefactor     19.514        23.252        .88144E-05    .12138E-03
   9  Prefactor     .10015E-03    11.992       -.77815E-06** at limit **
  10  norm          .92800        .52793       -.28322E-08    .66468E-04
  11  Normalizat    .83911        .18588       -.39602E-06    .87666E-04
  12  Prefactor     1.2107        .14822       -.10193E-06    .10577E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.64953
  norm       = 2.97544
  Prefactor  = 0.0001
  norm       = 0.719113
  norm       = 0.0001
  Prefactor  = 4.20605
  Prefactor  = 2.66604
  Prefactor  = 19.5145
  Prefactor  = 0.000100145
  norm       = 0.928003
  Normalizat = 0.83911
  Prefactor  = 1.21071
 **********
 **   18 **HESSE 
 **********

 FCN=   6821.122     FROM HESSE     STATUS=OK           139 CALLS     1030 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6495        .93983        .58363E-04   -1.5451    
   2  norm          2.9754        5.7043        .11772E-02   -1.5363    
   3  Prefactor     .10000E-03    2.7884        .13429E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .71911        2.5847        .24396E-03   -1.5538    
   5  norm          .10000E-03    1.6647        .10391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.2060        15.294        .19608E-03   -1.5298    
   7  Prefactor     2.6660        3.9495        .18755E-03   -1.5381    
   8  Prefactor     19.514        23.308        .90603E-04   -1.4824    
   9  Prefactor     .10015E-03    15.862        .75578E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .92800        .51774        .43701E-04   -1.5515    
  11  Normalizat    .83911        .21560        .29264E-03   -.98634    
  12  Prefactor     1.2107        .17343        .20394E-03   -.86002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.60722e-09
Minuit parameter uncertainties:
  1  0.939842
  2  5.70537
  3  9.90489e-07
  4  2.58513
  5  9.48414e-07
  6  15.3079
  7  3.9499
  8  23.3189
  9  0.00303529
  10  0.517746
  11  0.21582
  12  0.173511
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  7.191e-01  2.585e+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

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.211e+00  1.735e-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:  8.391e-01  2.158e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/26649/likelihoodResults_400032001_400291201_4FGL_J0909.1+0121_daily_bin620.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) = 6821.10567326
delta logL = 0.0159333700412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6821.1025606
delta logL = 0.019046035517

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .93599       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1128       1.0000          .0000       5.0000    
     3 'Normalizat'    .84189       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2089       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6821.103     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      247 TOTAL
                     EDM=   .43E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .93421        2.9189        .24340E-03    .45670E-04
   2  alpha         2.1112        1.6320        .50391E-01   -.18423E-05
   3  Normalizat    .84168        .20884        .29222E-03    .18674E-05
   4  Prefactor     1.2091        .17238        .20405E-03    .22286E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.934212
  alpha      = 2.11117
  Normalizat = 0.841683
  Prefactor  = 1.20908
 **********
 **   18 **HESSE 
 **********

 FCN=   6821.103     FROM HESSE     STATUS=OK            27 CALLS      274 TOTAL
                     EDM=   .21E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .93421        2.8809        .48681E-04   -1.5515    
   2  alpha         2.1112        1.6161        .20157E-02   -.15617    
   3  Normalizat    .84168        .20900        .11689E-04   -.98541    
   4  Prefactor     1.2091        .17252        .81620E-05   -.86052    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14312e-13
Minuit parameter uncertainties:
  1  2.88136
  2  1.76173
  3  0.209198
  4  0.1726
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/26649': 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) = 6821.10255934
delta logL = 0.0190472976337

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  9.342e-01  2.881e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.111e+00  1.762e+00  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:  1.209e+00  1.726e-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:  8.417e-01  2.092e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
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/26649/cmap_HighResolution_400032001_400291201_4FGL_J0909.1+0121_daily_bin620.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.31e-05', job_status='DONE', photon_flux_upper_limit='7.67e-08', time_completed='2021-08-31 01:48:38.632977', job_id='26649', GAL2='1.21', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1630399718.63', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='1.90e-02', ts2='0.13', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='620' AND source_name='4FGL J0909.1+0121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:48:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 26649: <4FGL_J0909.1+0121_daily_bin620> in cluster <slac> Done

Job <4FGL_J0909.1+0121_daily_bin620> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 01:36:15 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:36:16 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:36:16 2021
Terminated at Tue Aug 31 01:48:39 2021
Results reported at Tue Aug 31 01:48:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_daily_bin620 137.297 1.3557 400032001 400291201 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 :                                   483.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             231.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   743 sec.
    Turnaround time :                            744 sec.

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

