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


Performing analysis on: 4FGL_J0920.9+4441_daily_bin1156
RA = 140.229, Dec = 44.699
tmin = 538963201, tmax = 539222401
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='134517', job_status='RUN', time_executed='2021-08-31 07:07:42.397088', time_epoch_executed='1630418862.4' WHERE source_name='4FGL J0920.9+4441' and cadence='daily' and bin_id='1156'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/134517

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/134517/ft1_4FGL_J0920.9+4441_daily_bin1156.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/134517/ft2_4FGL_J0920.9+4441_daily_bin1156.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/134517/ft1_4FGL_J0920.9+4441_daily_bin1156.fits outfile=/scratch/kocevski/134517/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin1156.fits ra=140.229 dec=44.699 rad=12.0 tmin=538963201.0 tmax=539222401.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.31
user 4.27
sys 1.73

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/134517/ft2_4FGL_J0920.9+4441_daily_bin1156.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/134517/ft2_4FGL_J0920.9+4441_daily_bin1156.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/134517/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin1156.fits evtable="EVENTS" outfile="/scratch/kocevski/134517/ft1_filtered_4FGL_J0920.9+4441_daily_bin1156.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.30
user 0.31
sys 1.59

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/134517/ft1_filtered_4FGL_J0920.9+4441_daily_bin1156.fits" evtable="EVENTS" scfile=/scratch/kocevski/134517/ft2_4FGL_J0920.9+4441_daily_bin1156.fits sctable="SC_DATA" outfile=/scratch/kocevski/134517/ltcube_538963201_539222401_4FGL_J0920.9+4441_daily_bin1156.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/134517/ft2_4FGL_J0920.9+4441_daily_bin1156.fits
.....................!
real 14.45
user 11.60
sys 2.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/134517/ft1_filtered_4FGL_J0920.9+4441_daily_bin1156.fits evtable="EVENTS" scfile=/scratch/kocevski/134517/ft2_4FGL_J0920.9+4441_daily_bin1156.fits sctable="SC_DATA" expcube=/scratch/kocevski/134517/ltcube_538963201_539222401_4FGL_J0920.9+4441_daily_bin1156.fits outfile=/scratch/kocevski/134517/expmap_538963201_539222401_4FGL_J0920.9+4441_daily_bin1156.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/134517/ltcube_538963201_539222401_4FGL_J0920.9+4441_daily_bin1156.fits
.....................!
real 194.80
user 185.27
sys 7.18

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

Setting source of interest to:
4FGL J0920.9+4441 @ 140.229 44.699

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/134517/ft1_filtered_4FGL_J0920.9+4441_daily_bin1156.fits scfile=/scratch/kocevski/134517/ft2_4FGL_J0920.9+4441_daily_bin1156.fits outfile=/scratch/kocevski/134517/cmap_538963201_539222401_4FGL_J0920.9+4441_daily_bin1156.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=140.229 yref=44.699 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.11
user 0.35
sys 1.53

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/134517/ft1_filtered_4FGL_J0920.9+4441_daily_bin1156.fits scfile=/scratch/kocevski/134517/ft2_4FGL_J0920.9+4441_daily_bin1156.fits outfile=/scratch/kocevski/134517/cmap_HighResolution_538963201_539222401_4FGL_J0920.9+4441_daily_bin1156.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=140.229 yref=44.699 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.20
user 0.36
sys 1.57

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/134517/ft1_filtered_4FGL_J0920.9+4441_daily_bin1156.fits evtable="EVENTS" scfile=/scratch/kocevski/134517/ft2_4FGL_J0920.9+4441_daily_bin1156.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/134517/Model_4FGL_J0920.9+4441_daily_bin1156.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/134517/ft1_filtered_4FGL_J0920.9+4441_daily_bin1156.fits.....................!
real 45.01
user 39.63
sys 3.45

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/134517/ft1_filtered_4FGL_J0920.9+4441_daily_bin1156.fits', '/scratch/kocevski/134517/ft2_4FGL_J0920.9+4441_daily_bin1156.fits', expMap='/scratch/kocevski/134517/expmap_538963201_539222401_4FGL_J0920.9+4441_daily_bin1156.fits', expCube='/scratch/kocevski/134517/ltcube_538963201_539222401_4FGL_J0920.9+4441_daily_bin1156.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/134517/Model_4FGL_J0920.9+4441_daily_bin1156.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0920.9+4441'

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  1.124e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
317        alpha:  2.267e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  1.363e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  8.119e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/134517/ft1_filtered_4FGL_J0920.9+4441_daily_bin1156.fits
Spacecraft file(s): /scratch/kocevski/134517/ft2_4FGL_J0920.9+4441_daily_bin1156.fits
Exposure map: /scratch/kocevski/134517/expmap_538963201_539222401_4FGL_J0920.9+4441_daily_bin1156.fits
Exposure cube: /scratch/kocevski/134517/ltcube_538963201_539222401_4FGL_J0920.9+4441_daily_bin1156.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/134517/Model_4FGL_J0920.9+4441_daily_bin1156.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) = 4174.13014006

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3514       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .15448E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.325       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.5562       1.0000         .10000E-03   10000.    
     7 'norm      '    8.0565       1.0000         .10000E-03   10000.    
     8 'norm      '    .64510       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.8606       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.1738       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.400       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.0167       1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.481       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10901E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.5690       1.0000         .10000E-03   10000.    
    17 'norm      '    2.2615       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .73541E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    16.759       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.4343       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.7811       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.2923       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.2419       1.0000         .10000E-03   10000.    
    24 'norm      '    .12122E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    1.9769       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    3.2170       1.0000         .10000E-03   10000.    
    29 'Prefactor '    2.2660       1.0000         .10000E-03   10000.    
    30 'Prefactor '    27.774       1.0000         .10000E-03   10000.    
    31 'norm      '    17.393       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .64167       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .97548       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4174.097     FROM MIGRAD    STATUS=CONVERGED    903 CALLS     4702 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3516        .68436       -.63196E-07    .18872E-03
   2  Prefactor     .10000E-03    5.7917        .45084E-07** at limit **
   3  Prefactor     .10000E-03    2.4276       -.27049E-06** at limit **
   4  Prefactor     13.329        19.825       -.24478E-06    .25406E-04
   5  Prefactor     .10000E-03    7.2995        .21419E-06** at limit **
   6  Prefactor     8.5574        9.9807       -.11696E-05   -.19196E-03
   7  norm          8.0567        6.0241       -.31227E-06   -.12437E-03
   8  norm          .64578        10.430        .13442E-05   -.12857E-03
   9  Prefactor     1.8577        21.381        .59743E-06   -.31115E-04
  10  Prefactor     5.1726        3.4187        .20500E-06    .25238E-03
  11  Prefactor     10.397        24.388       -.11420E-05   -.53251E-04
  12  Prefactor     .10000E-03    82.912        .38810E-06** at limit **
  13  Prefactor     1.0162        2.7043        .23669E-06    .43777E-03
  14  Prefactor     18.481        39.422        .18254E-07    .41831E-04
  15  Prefactor     .10007E-03    5.3667        .16411E-05** at limit **
  16  Prefactor     9.5586        20.779        .16686E-06    .76684E-04
  17  norm          2.2611        .75539        .21314E-06    .30956E-02
  18  Prefactor     .10004E-03    24.786       -.58528E-05** at limit **
  19  norm          16.759        12.689        .19934E-06    .15839E-03
  20  Prefactor     2.4342        3.0154        .30594E-06    .55016E-03
  21  Prefactor     4.7790        10.982       -.29407E-06   -.40594E-04
  22  Prefactor     3.2924        3.5065       -.41916E-07   -.52124E-04
  23  Prefactor     1.2430        67.398        .94930E-06   -.27890E-04
  24  norm          .10000E-03    43.510        .15963E-06** at limit **
  25  Prefactor     .10000E-03    13.918       -.10996E-06** at limit **
  26  Prefactor     1.9722        7.4721        .46456E-06   -.14034E-03
  27  Prefactor     .10000E-03    17.868       -.30340E-07** at limit **
  28  norm          3.2128        18.288        .85614E-06   -.57367E-05
  29  Prefactor     2.2666        6.2326        .12501E-06   -.81878E-04
  30  Prefactor     27.691        43.505       -.17736E-05   -.91059E-04
  31  norm          17.393        6.2797        .56307E-08    .55051E-05
  32  Normalizat    .64200        .23894       -.54051E-05    .11667E-03
  33  Prefactor     .97530        .24642        .43112E-05    .46303E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.35156
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 13.3288
  Prefactor  = 0.0001
  Prefactor  = 8.55738
  norm       = 8.05668
  norm       = 0.645783
  Prefactor  = 1.85765
  Prefactor  = 5.17259
  Prefactor  = 10.3973
  Prefactor  = 0.0001
  Prefactor  = 1.01617
  Prefactor  = 18.4808
  Prefactor  = 0.000100072
  Prefactor  = 9.55857
  norm       = 2.26114
  Prefactor  = 0.000100043
  norm       = 16.759
  Prefactor  = 2.43417
  Prefactor  = 4.77899
  Prefactor  = 3.29242
  Prefactor  = 1.24296
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.97221
  Prefactor  = 0.0001
  norm       = 3.21275
  Prefactor  = 2.26662
  Prefactor  = 27.691
  norm       = 17.393
  Normalizat = 0.641997
  Prefactor  = 0.975298
 **********
 **   18 **HESSE 
 **********

 FCN=   4174.097     FROM HESSE     STATUS=OK           713 CALLS     5415 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3516        .67908        .36516E-04   -1.5475    
   2  Prefactor     .10000E-03    5.8038        .15181E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.4564        .19113E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.329        19.780        .10973E-03   -1.4978    
   5  Prefactor     .10000E-03    7.3843        .17043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.5574        9.9263        .13704E-03   -1.5123    
   7  norm          8.0567        6.0164        .13043E-03   -1.5140    
   8  norm          .64578        10.530        .37955E-03   -1.5547    
   9  Prefactor     1.8577        21.258        .30550E-03   -1.5435    
  10  Prefactor     5.1726        3.4101        .89982E-04   -1.5253    
  11  Prefactor     10.397        24.342        .12424E-03   -1.5063    
  12  Prefactor     .10000E-03    83.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.0162        2.4003        .17820E-02   -1.5506    
  14  Prefactor     18.481        39.297        .93167E-04   -1.4848    
  15  Prefactor     .10007E-03    17.567        .16346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.5586        20.653        .12955E-03   -1.5090    
  17  norm          2.2611        .73875        .29654E-04   -1.5407    
  18  Prefactor     .10004E-03    31.127        .15092E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          16.759        12.648        .97835E-04   -1.4889    
  20  Prefactor     2.4342        2.9363        .11289E-03   -1.5396    
  21  Prefactor     4.7790        10.574        .18400E-03   -1.5271    
  22  Prefactor     3.2924        3.4802        .11722E-03   -1.5345    
  23  Prefactor     1.2430        60.960        .40223E-03   -1.5485    
  24  norm          .10000E-03    44.775        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    13.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     1.9722        7.2026        .29117E-03   -1.5427    
  27  Prefactor     .10000E-03    17.886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          3.2128        18.181        .22587E-03   -1.5349    
  29  Prefactor     2.2666        6.1292        .24336E-03   -1.5407    
  30  Prefactor     27.691        44.029        .76018E-04   -1.4655    
  31  norm          17.393        6.2716        .93260E-04   -1.4874    
  32  Normalizat    .64200        .24269        .26577E-03   -1.0623    
  33  Prefactor     .97530        .25107        .24447E-03   -.93558    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.13106e-09
Minuit parameter uncertainties:
  1  0.67908
  2  7.45164e-06
  3  0.000149259
  4  19.7899
  5  5.12064e-06
  6  9.92819
  7  6.01687
  8  5.21618
  9  12.5736
  10  3.41019
  11  24.3655
  12  0.000231244
  13  2.40048
  14  39.3523
  15  0.00225377
  16  20.668
  17  0.738754
  18  0.00232681
  19  12.6501
  20  2.93652
  21  10.5778
  22  3.48043
  23  17.4275
  24  3.15025e-05
  25  2.41293e-05
  26  7.20576
  27  4.3454e-05
  28  15.2925
  29  6.13094
  30  44.0808
  31  6.27187
  32  0.243097
  33  0.251371
Done.

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

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  2.261e+00  7.388e-01  1.000e-04  1.000e+04 ( 1.000e-11)
317        alpha:  2.267e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  1.363e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  8.119e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
681    Prefactor:  9.753e-01  2.514e-01  0.000e+00  1.000e+01 ( 1.000e+00)
682        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
683        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
680   Normalization:  6.420e-01  2.431e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 29.69
Ra Dec: 140.229 44.699
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.53e-07 +/- 4.99e-08
Energy Flux (Fixed Index): 5.86e-05 +/- 1.91e-05

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) = 4173.18464537
delta logL = 0.912715210568

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4173.18399856
delta logL = 0.913362021113

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5885       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7204       1.0000          .0000       5.0000    
     3 'Normalizat'    .59180       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0112       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4173.184     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      202 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5885        6.2968        .52118E-02    .64624E-02
   2  alpha         2.7205        3.7091        .12268        .37378E-03
   3  Normalizat    .59179        .11955        .62229E-01    .11824E-03
   4  Prefactor     1.0112        .12013        .43155E-01    .99024E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.58853
  alpha      = 2.72045
  Normalizat = 0.591789
  Prefactor  = 1.01122
 **********
 **   18 **HESSE 
 **********

 FCN=   4173.184     FROM HESSE     STATUS=OK            27 CALLS      229 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5885        .73971        .23056E-04   -1.5456    
   2  alpha         2.7205        .34706        .53337E-03    .88297E-01
   3  Normalizat    .59179        .22013        .27533E-03   -1.0833    
   4  Prefactor     1.0112        .24361        .24033E-03   -.92357    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.45536e-10
Minuit parameter uncertainties:
  1  0.739714
  2  0.348192
  3  0.220459
  4  0.243876
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/134517': 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) = 4173.18399855
delta logL = 0.913362034014

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  1.589e+00  7.397e-01  1.000e-04  1.000e+04 ( 1.000e-11)
317        alpha:  2.720e+00  3.482e-01  0.000e+00  5.000e+00 ( 1.000e+00)
318         beta:  1.363e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  8.119e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
681    Prefactor:  1.011e+00  2.439e-01  0.000e+00  1.000e+01 ( 1.000e+00)
682        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
683        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
680   Normalization:  5.918e-01  2.205e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 31.55
Ra Dec: 140.229 44.699
Photon Index (Free Index): 2.72 +/- 0.35
Photon Flux (Free Index): 1.96e-07 +/- 6.42e-08
Energy Flux (Free Index): 5.04e-05 +/- 1.58e-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/134517/cmap_HighResolution_538963201_539222401_4FGL_J0920.9+4441_daily_bin1156.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.53e-07', energy_flux2='5.04e-05', photon_flux_error='4.99e-08', dlogl='9.13e-01', energy_flux='5.86e-05', photon_flux2='1.96e-07', job_status='DONE', time_completed='2021-08-31 07:20:33.102356', photon_index_error2='0.35', photon_index2='2.72', ts='29.69', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.58e-05', EG='0.64', time_epoch_completed='1630419633.1', return_code='0', job_id='134517', GAL2='1.01', EG2='0.59', return_code2='0', energy_flux_error='1.91e-05', photon_flux_error2='6.42e-08', ts2='31.55', photon_index='2.27' WHERE bin_id='1156' AND source_name='4FGL J0920.9+4441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 07:20:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 134517: <4FGL_J0920.9+4441_daily_bin1156> in cluster <slac> Done

Job <4FGL_J0920.9+4441_daily_bin1156> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Tue Aug 31 07:06:29 2021
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 07:06:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 07:06:30 2021
Terminated at Tue Aug 31 07:20:34 2021
Results reported at Tue Aug 31 07:20:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.9+4441_daily_bin1156 140.229 44.699 538963201 539222401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0920.9+4441 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   778.08 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             293.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            845 sec.

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

