/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 197 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 = 7472
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0905.6+1358_daily_bin361
RA = 136.402, Dec = 13.975
tmin = 332899201, tmax = 333158401
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='8238', job_status='RUN', time_executed='2021-08-31 00:44:10.191301', time_epoch_executed='1630395850.19' WHERE source_name='4FGL J0905.6+1358' and cadence='daily' and bin_id='361'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/8238

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/8238/ft1_4FGL_J0905.6+1358_daily_bin361.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/8238/ft2_4FGL_J0905.6+1358_daily_bin361.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/8238/ft1_4FGL_J0905.6+1358_daily_bin361.fits outfile=/scratch/kocevski/8238/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin361.fits ra=136.402 dec=13.975 rad=12.0 tmin=332899201.0 tmax=333158401.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 4.15
user 3.91
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/8238/ft2_4FGL_J0905.6+1358_daily_bin361.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/8238/ft2_4FGL_J0905.6+1358_daily_bin361.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/8238/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin361.fits evtable="EVENTS" outfile="/scratch/kocevski/8238/ft1_filtered_4FGL_J0905.6+1358_daily_bin361.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.48
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/8238/ft1_filtered_4FGL_J0905.6+1358_daily_bin361.fits" evtable="EVENTS" scfile=/scratch/kocevski/8238/ft2_4FGL_J0905.6+1358_daily_bin361.fits sctable="SC_DATA" outfile=/scratch/kocevski/8238/ltcube_332899201_333158401_4FGL_J0905.6+1358_daily_bin361.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/8238/ft2_4FGL_J0905.6+1358_daily_bin361.fits
.....................!
real 11.75
user 11.41
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/8238/ft1_filtered_4FGL_J0905.6+1358_daily_bin361.fits evtable="EVENTS" scfile=/scratch/kocevski/8238/ft2_4FGL_J0905.6+1358_daily_bin361.fits sctable="SC_DATA" expcube=/scratch/kocevski/8238/ltcube_332899201_333158401_4FGL_J0905.6+1358_daily_bin361.fits outfile=/scratch/kocevski/8238/expmap_332899201_333158401_4FGL_J0905.6+1358_daily_bin361.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/8238/ltcube_332899201_333158401_4FGL_J0905.6+1358_daily_bin361.fits
.....................!
real 192.32
user 187.65
sys 4.29

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

Setting source of interest to:
4FGL J0905.6+1358 @ 136.402 13.975

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/8238/ft1_filtered_4FGL_J0905.6+1358_daily_bin361.fits scfile=/scratch/kocevski/8238/ft2_4FGL_J0905.6+1358_daily_bin361.fits outfile=/scratch/kocevski/8238/cmap_332899201_333158401_4FGL_J0905.6+1358_daily_bin361.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=136.402 yref=13.975 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.54
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/8238/ft1_filtered_4FGL_J0905.6+1358_daily_bin361.fits scfile=/scratch/kocevski/8238/ft2_4FGL_J0905.6+1358_daily_bin361.fits outfile=/scratch/kocevski/8238/cmap_HighResolution_332899201_333158401_4FGL_J0905.6+1358_daily_bin361.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=136.402 yref=13.975 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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/8238/ft1_filtered_4FGL_J0905.6+1358_daily_bin361.fits evtable="EVENTS" scfile=/scratch/kocevski/8238/ft2_4FGL_J0905.6+1358_daily_bin361.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/8238/Model_4FGL_J0905.6+1358_daily_bin361.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/8238/ft1_filtered_4FGL_J0905.6+1358_daily_bin361.fits.....................!
real 54.32
user 52.97
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/8238/ft1_filtered_4FGL_J0905.6+1358_daily_bin361.fits', '/scratch/kocevski/8238/ft2_4FGL_J0905.6+1358_daily_bin361.fits', expMap='/scratch/kocevski/8238/expmap_332899201_333158401_4FGL_J0905.6+1358_daily_bin361.fits', expCube='/scratch/kocevski/8238/ltcube_332899201_333158401_4FGL_J0905.6+1358_daily_bin361.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/8238/Model_4FGL_J0905.6+1358_daily_bin361.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0905.6+1358'

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  1.799e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  1.592e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
284         beta:  1.283e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  2.458e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/8238/ft1_filtered_4FGL_J0905.6+1358_daily_bin361.fits
Spacecraft file(s): /scratch/kocevski/8238/ft2_4FGL_J0905.6+1358_daily_bin361.fits
Exposure map: /scratch/kocevski/8238/expmap_332899201_333158401_4FGL_J0905.6+1358_daily_bin361.fits
Exposure cube: /scratch/kocevski/8238/ltcube_332899201_333158401_4FGL_J0905.6+1358_daily_bin361.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/8238/Model_4FGL_J0905.6+1358_daily_bin361.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) = 5360.99497478

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2738       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.7438       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .35420       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.7272       1.0000         .10000E-03   10000.    
     5 'norm      '    .23611       1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.818       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    47.021       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.8464       1.0000         .10000E-03   10000.    
    11 'norm      '    2.2633       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Normalizat'    .89586       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.2332       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5360.952     FROM MIGRAD    STATUS=CONVERGED    250 CALLS     1077 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2726        21.099       -.27207E-05   -.39113E-04
   2  Prefactor     5.7439        9.5287        .33949E-06   -.11539E-03
   3  Prefactor     .37238        3.9317        .16374E-05   -.95231E-03
   4  Prefactor     8.7306        34.307        .91301E-05    .26992E-04
   5  norm          .23624        .61504        .32471E-06    .17514E-03
   6  Prefactor     15.813        14.123       -.29479E-05   -.24578E-03
   7  norm          .10000E-03    2.0240        .14138E-07** at limit **
   8  norm          .10000E-03    19.170       -.22957E-06** at limit **
   9  Prefactor     47.018        39.831       -.41168E-05   -.86562E-04
  10  Prefactor     1.8465        .74788       -.42702E-07   -.11885E-02
  11  norm          2.2634        1.2305        .45536E-08   -.72590E-05
  12  Prefactor     .10000E-03    12.549        .12856E-05** at limit **
  13  Normalizat    .89579        .20373       -.11572E-06   -.17633E-03
  14  Prefactor     1.2332        .17701       -.93721E-07   -.17714E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.27261
  Prefactor  = 5.74392
  Prefactor  = 0.372376
  Prefactor  = 8.73055
  norm       = 0.236245
  Prefactor  = 15.8135
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 47.0181
  Prefactor  = 1.84648
  norm       = 2.26341
  Prefactor  = 0.0001
  Normalizat = 0.895787
  Prefactor  = 1.23324
 **********
 **   18 **HESSE 
 **********

 FCN=   5360.952     FROM HESSE     STATUS=OK           168 CALLS     1245 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2726        21.122        .14872E-03   -1.5169    
   2  Prefactor     5.7439        9.5059        .16759E-03   -1.5229    
   3  Prefactor     .37238        15.967        .26587E-02   -1.5586    
   4  Prefactor     8.7306        34.373        .13568E-03   -1.5117    
   5  norm          .23624        .59825        .83785E-04   -1.5611    
   6  Prefactor     15.813        14.053        .10071E-03   -1.4912    
   7  norm          .10000E-03    2.0243        .10173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    19.189        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     47.018        39.843        .58474E-04   -1.4335    
  10  Prefactor     1.8465        4.1621        .10721E-02   -1.5436    
  11  norm          2.2634        1.2288        .58065E-04   -1.5407    
  12  Prefactor     .10000E-03    12.566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    .89579        .23420        .27272E-03   -.96608    
  14  Prefactor     1.2332        .20328        .21120E-03   -.85315    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.36328e-09
Minuit parameter uncertainties:
  1  21.1439
  2  9.50837
  3  4.87754
  4  34.4508
  5  0.598267
  6  14.0558
  7  8.86612e-08
  8  2.6345e-05
  9  39.8658
  10  4.16273
  11  1.22883
  12  3.09193e-05
  13  0.234465
  14  0.203413
Done.

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

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  1.000e-04  8.866e-08  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  1.592e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
284         beta:  1.283e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  2.458e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.233e+00  2.034e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  8.958e-01  2.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 136.402 13.975
Photon Flux Upper Limit: 1.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.22e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/8238/likelihoodResults_332899201_333158401_4FGL_J0905.6+1358_daily_bin361.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) = 5360.9524761
delta logL = -1.20713593788e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5360.95247587
delta logL = 1.0785242921e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5697       1.0000          .0000       5.0000    
     3 'Normalizat'    .89573       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2332       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+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=   5360.952     FROM MIGRAD    STATUS=FAILED        85 CALLS      232 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    527.12        .10240E-02** at limit **
   2  alpha         1.3180        4.2352        .18201        .10606E-06
   3  Normalizat    .89579        .21936        .27272E-03    .71575E-04
   4  Prefactor     1.2332        .19688        .21120E-03    .18929E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5360.952     FROM SIMPLEX   STATUS=UNCHANGED    173 CALLS      405 TOTAL
                     EDM=   .88E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    527.12        .21853E-03** at limit **
   2  alpha         1.3180        4.2352        .14728E-05    .10606E-06
   3  Normalizat    .89579        .21936        .23631E-06    .71575E-04
   4  Prefactor     1.2332        .19688        .10661E-06    .18929E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5360.952     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      442 TOTAL
                     EDM=   .64E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.1507        .20481E-03** at limit **
   2  alpha         1.3167        4.0724        .72805E-02    .93691E-09
   3  Normalizat    .89579        .22608        .10909E-04    .43770E-05
   4  Prefactor     1.2332        .20291        .42241E-04    .26914E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.31674
  Normalizat = 0.895788
  Prefactor  = 1.23324
 **********
 **   18 **HESSE 
 **********

 FCN=   5360.952     FROM HESSE     STATUS=OK            23 CALLS      465 TOTAL
                     EDM=   .66E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.1506        .40961E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.3167        3.8938        .14561E-02   -.49304    
   3  Normalizat    .89579        .22610        .21818E-05   -.96608    
   4  Prefactor     1.2332        .20294        .84482E-05   -.85315    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.57192e-14
Minuit parameter uncertainties:
  1  4.71648e-07
  2  159.576
  3  0.226339
  4  0.203067
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/8238': 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) = 5360.95247452
delta logL = 1.45026206155e-06

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  1.000e-04  4.716e-07  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  1.317e+00  1.596e+02  0.000e+00  5.000e+00 ( 1.000e+00)
284         beta:  1.283e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  2.458e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.233e+00  2.031e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  8.958e-01  2.263e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 136.402 13.975

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/8238/cmap_HighResolution_332899201_333158401_4FGL_J0905.6+1358_daily_bin361.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-05', job_status='DONE', photon_flux_upper_limit='1.94e-08', time_completed='2021-08-31 00:51:58.608165', job_id='8238', GAL2='1.23', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1630396318.61', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='1.45e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.59' WHERE bin_id='361' AND source_name='4FGL J0905.6+1358' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 00:51:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 8238: <4FGL_J0905.6+1358_daily_bin361> in cluster <slac> Done

Job <4FGL_J0905.6+1358_daily_bin361> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 31 00:40:41 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 00:40:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 00:40:44 2021
Terminated at Tue Aug 31 00:51:59 2021
Results reported at Tue Aug 31 00:51:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0905.6+1358_daily_bin361 136.402 13.975 332899201 333158401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0905.6+1358 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   465.10 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             251.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   674 sec.
    Turnaround time :                            678 sec.

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

