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


Performing analysis on: 4FGL_J0909.1+0121_daily_bin717
RA = 137.297, Dec = 1.3557
tmin = 425174401, tmax = 425433601
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='27918', job_status='RUN', time_executed='2021-08-31 01:43:37.328381', time_epoch_executed='1630399417.33' WHERE source_name='4FGL J0909.1+0121' and cadence='daily' and bin_id='717'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/27918

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/27918/ft1_4FGL_J0909.1+0121_daily_bin717.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/27918/ft2_4FGL_J0909.1+0121_daily_bin717.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/27918/ft1_4FGL_J0909.1+0121_daily_bin717.fits outfile=/scratch/kocevski/27918/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin717.fits ra=137.297 dec=1.3557 rad=12.0 tmin=425174401.0 tmax=425433601.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 8.52
user 4.98
sys 0.58

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/27918/ft1_filtered_4FGL_J0909.1+0121_daily_bin717.fits" evtable="EVENTS" scfile=/scratch/kocevski/27918/ft2_4FGL_J0909.1+0121_daily_bin717.fits sctable="SC_DATA" outfile=/scratch/kocevski/27918/ltcube_425174401_425433601_4FGL_J0909.1+0121_daily_bin717.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/27918/ft2_4FGL_J0909.1+0121_daily_bin717.fits
.....................!
real 12.77
user 11.93
sys 0.72

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/27918/ft1_filtered_4FGL_J0909.1+0121_daily_bin717.fits evtable="EVENTS" scfile=/scratch/kocevski/27918/ft2_4FGL_J0909.1+0121_daily_bin717.fits sctable="SC_DATA" expcube=/scratch/kocevski/27918/ltcube_425174401_425433601_4FGL_J0909.1+0121_daily_bin717.fits outfile=/scratch/kocevski/27918/expmap_425174401_425433601_4FGL_J0909.1+0121_daily_bin717.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/27918/ltcube_425174401_425433601_4FGL_J0909.1+0121_daily_bin717.fits
.....................!
real 196.17
user 186.84
sys 6.54

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/27918/ft1_filtered_4FGL_J0909.1+0121_daily_bin717.fits scfile=/scratch/kocevski/27918/ft2_4FGL_J0909.1+0121_daily_bin717.fits outfile=/scratch/kocevski/27918/cmap_425174401_425433601_4FGL_J0909.1+0121_daily_bin717.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.02
user 0.37
sys 0.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/27918/ft1_filtered_4FGL_J0909.1+0121_daily_bin717.fits scfile=/scratch/kocevski/27918/ft2_4FGL_J0909.1+0121_daily_bin717.fits outfile=/scratch/kocevski/27918/cmap_HighResolution_425174401_425433601_4FGL_J0909.1+0121_daily_bin717.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 0.99
user 0.36
sys 0.51

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3400       1.0000         .10000E-03   10000.    
     2 'norm      '    7.6697       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    24.917       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    28.515       1.0000         .10000E-03   10000.    
     9 'Prefactor '    40.669       1.0000         .10000E-03   10000.    
    10 'norm      '    1.7503       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.1950       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .75691       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=   4119.691     FROM MIGRAD    STATUS=CONVERGED    200 CALLS      953 TOTAL
                     EDM=   .75E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3401        1.9296       -.34383E-07   -.72856E-04
   2  norm          7.6698        9.8265       -.35189E-06   -.57528E-04
   3  Prefactor     .10000E-03    6.6746       -.72954E-07** at limit **
   4  norm          .10000E-03    4.8756       -.80832E-08** at limit **
   5  norm          24.920        12.878        .20226E-05   -.71651E-05
   6  Prefactor     .10000E-03    13.327        .11623E-06** at limit **
   7  Prefactor     .10000E-03    4.5063        .22582E-07** at limit **
   8  Prefactor     28.511        43.628       -.57344E-05   -.16308E-05
   9  Prefactor     40.666        26.198       -.41732E-05   -.38873E-05
  10  norm          1.7506        1.0555        .15250E-06   -.15626E-03
  11  Normalizat    1.1948        .24970        .84272E-06   -.20769E-04
  12  Prefactor     .75701        .18415        .60497E-07    .13724E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.34012
  norm       = 7.66975
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 24.9195
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.5112
  Prefactor  = 40.6659
  norm       = 1.75056
  Normalizat = 1.19483
  Prefactor  = 0.757005
 **********
 **   18 **HESSE 
 **********

 FCN=   4119.691     FROM HESSE     STATUS=OK           131 CALLS     1084 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3401        1.9335        .56743E-04   -1.5291    
   2  norm          7.6698        9.8319        .14480E-03   -1.5154    
   3  Prefactor     .10000E-03    6.7650        .16192E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    4.9659        .13823E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          24.920        12.905        .80249E-04   -1.4709    
   6  Prefactor     .10000E-03    13.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.6512        .26588E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     28.511        43.658        .75026E-04   -1.4640    
   9  Prefactor     40.666        26.199        .62856E-04   -1.4432    
  10  norm          1.7506        1.0442        .47012E-04   -1.5443    
  11  Normalizat    1.1948        .29785        .26120E-03   -.86763    
  12  Prefactor     .75701        .21853        .24390E-03   -1.0133    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75069e-11
Minuit parameter uncertainties:
  1  1.9335
  2  9.834
  3  7.13688e-06
  4  1.24989e-05
  5  12.9067
  6  1.78305e-05
  7  1.07864e-05
  8  43.7071
  9  26.2068
  10  1.04423
  11  0.298271
  12  0.218777
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.000e-04  1.250e-05  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:  7.570e-01  2.188e-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.195e+00  2.983e-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: 1.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.54e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/27918/likelihoodResults_425174401_425433601_4FGL_J0909.1+0121_daily_bin717.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) = 4119.69198684
delta logL = -0.000959263741606

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4119.69103197
delta logL = -4.40258008894e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10079E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5511       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1939       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75773       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   4119.691     FROM MIGRAD    STATUS=FAILED        95 CALLS      241 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10009E-03    9.2847        .25085E-02** at limit **
   2  alpha         2.6301        3.6343        .16465       -.76137E-04
   3  Normalizat    1.1948        .28268        .26120E-03    .24436E-03
   4  Prefactor     .75701        .21626        .24390E-03    .25511E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4119.691     FROM SIMPLEX   STATUS=UNCHANGED    124 CALLS      365 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10009E-03    9.2847        .38887E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6301        3.6343        .58707E-03    .52080E-01
   3  Normalizat    1.1948        .28268        .69688E-04   -.86763    
   4  Prefactor     .75701        .21626        .57385E-04   -1.0133    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4119.092     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      475 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .33209        12.949        .50170E-02    .10136E-02
   2  alpha         4.5317        2.9472        .65860E-01    .12654E-04
   3  Normalizat    1.0920        .11053        .52240E-03    .10076E-04
   4  Prefactor     .80634        .81294E-01    .48780E-03    .55702E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.332094
  alpha      = 4.53174
  Normalizat = 1.09197
  Prefactor  = 0.806343
 **********
 **   18 **HESSE 
 **********

 FCN=   4119.092     FROM HESSE     STATUS=OK            27 CALLS      502 TOTAL
                     EDM=   .36E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .33209        1.0875        .35860E-04   -1.5593    
   2  alpha         4.5317        3.8277        .22806E-02    .94877    
   3  Normalizat    1.0920        .29898        .20896E-04   -.90010    
   4  Prefactor     .80634        .22312        .19512E-04   -.99495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.55493e-13
Minuit parameter uncertainties:
  1  1.08761
  2  1.74936
  3  0.299439
  4  0.223375
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/27918': 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) = 4119.09199816
delta logL = 0.599029408776

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  3.321e-01  1.088e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  4.532e+00  1.749e+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:  8.063e-01  2.234e-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.092e+00  2.994e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.29
Ra Dec: 137.297 1.356
Photon Index (Free Index): 4.53 +/- 1.75
Photon Flux (Free Index): 8.61e-08 +/- 8.91e-08
Energy Flux (Free Index): 1.24e-05 +/- 1.31e-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/27918/cmap_HighResolution_425174401_425433601_4FGL_J0909.1+0121_daily_bin717.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.54e-05', comment='SUCCESS', energy_flux2='1.24e-05', dlogl='5.99e-01', photon_flux2='8.61e-08', job_status='DONE', time_completed='2021-08-31 01:51:03.708305', photon_index_error2='1.75', photon_index2='4.53', ts='-0.00', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='1.18e-07', energy_flux_error2='1.31e-05', EG='1.19', time_epoch_completed='1630399863.71', return_code='0', job_id='27918', GAL2='0.81', EG2='1.09', return_code2='0', photon_flux_error2='8.91e-08', ts2='1.29', photon_index='2.49' WHERE bin_id='717' AND source_name='4FGL J0909.1+0121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:51:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 27918: <4FGL_J0909.1+0121_daily_bin717> in cluster <slac> Done

Job <4FGL_J0909.1+0121_daily_bin717> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Tue Aug 31 01:40:35 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:40:37 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:37 2021
Terminated at Tue Aug 31 01:51:04 2021
Results reported at Tue Aug 31 01:51:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_daily_bin717 137.297 1.3557 425174401 425433601 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 :                                   441.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             277.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   627 sec.
    Turnaround time :                            629 sec.

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

