/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 43 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 = 7405
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0920.9+4441_daily_bin93
RA = 140.229, Dec = 44.699
tmin = 263433601, tmax = 263692801
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='128507', job_status='RUN', time_executed='2021-08-31 06:49:11.780537', time_epoch_executed='1630417751.78' WHERE source_name='4FGL J0920.9+4441' and cadence='daily' and bin_id='93'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/128507

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/128507/ft1_4FGL_J0920.9+4441_daily_bin93.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/128507/ft2_4FGL_J0920.9+4441_daily_bin93.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/128507/ft1_4FGL_J0920.9+4441_daily_bin93.fits outfile=/scratch/kocevski/128507/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin93.fits ra=140.229 dec=44.699 rad=12.0 tmin=263433601.0 tmax=263692801.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.50
user 3.26
sys 1.10

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/128507/ft2_4FGL_J0920.9+4441_daily_bin93.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/128507/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin93.fits evtable="EVENTS" outfile="/scratch/kocevski/128507/ft1_filtered_4FGL_J0920.9+4441_daily_bin93.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.95
user 0.34
sys 0.98

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/128507/ft1_filtered_4FGL_J0920.9+4441_daily_bin93.fits" evtable="EVENTS" scfile=/scratch/kocevski/128507/ft2_4FGL_J0920.9+4441_daily_bin93.fits sctable="SC_DATA" outfile=/scratch/kocevski/128507/ltcube_263433601_263692801_4FGL_J0920.9+4441_daily_bin93.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/128507/ft2_4FGL_J0920.9+4441_daily_bin93.fits
.....................!
real 13.77
user 11.62
sys 1.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/128507/ft1_filtered_4FGL_J0920.9+4441_daily_bin93.fits evtable="EVENTS" scfile=/scratch/kocevski/128507/ft2_4FGL_J0920.9+4441_daily_bin93.fits sctable="SC_DATA" expcube=/scratch/kocevski/128507/ltcube_263433601_263692801_4FGL_J0920.9+4441_daily_bin93.fits outfile=/scratch/kocevski/128507/expmap_263433601_263692801_4FGL_J0920.9+4441_daily_bin93.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/128507/ltcube_263433601_263692801_4FGL_J0920.9+4441_daily_bin93.fits
.....................!
real 194.60
user 185.75
sys 5.63

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/128507/ft1_filtered_4FGL_J0920.9+4441_daily_bin93.fits scfile=/scratch/kocevski/128507/ft2_4FGL_J0920.9+4441_daily_bin93.fits outfile=/scratch/kocevski/128507/cmap_263433601_263692801_4FGL_J0920.9+4441_daily_bin93.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.00
user 0.37
sys 0.96

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/128507/ft1_filtered_4FGL_J0920.9+4441_daily_bin93.fits scfile=/scratch/kocevski/128507/ft2_4FGL_J0920.9+4441_daily_bin93.fits outfile=/scratch/kocevski/128507/cmap_HighResolution_263433601_263692801_4FGL_J0920.9+4441_daily_bin93.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.29
user 0.37
sys 0.98

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/128507/ft1_filtered_4FGL_J0920.9+4441_daily_bin93.fits', '/scratch/kocevski/128507/ft2_4FGL_J0920.9+4441_daily_bin93.fits', expMap='/scratch/kocevski/128507/expmap_263433601_263692801_4FGL_J0920.9+4441_daily_bin93.fits', expCube='/scratch/kocevski/128507/ltcube_263433601_263692801_4FGL_J0920.9+4441_daily_bin93.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/128507/Model_4FGL_J0920.9+4441_daily_bin93.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/128507/ft1_filtered_4FGL_J0920.9+4441_daily_bin93.fits
Spacecraft file(s): /scratch/kocevski/128507/ft2_4FGL_J0920.9+4441_daily_bin93.fits
Exposure map: /scratch/kocevski/128507/expmap_263433601_263692801_4FGL_J0920.9+4441_daily_bin93.fits
Exposure cube: /scratch/kocevski/128507/ltcube_263433601_263692801_4FGL_J0920.9+4441_daily_bin93.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/128507/Model_4FGL_J0920.9+4441_daily_bin93.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) = 5131.74978841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2395       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.0414       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    17.922       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.4976       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.4397       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11656E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10543E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.5898       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.8000       1.0000         .10000E-03   10000.    
    19 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10543E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    5.4985       1.0000         .10000E-03   10000.    
    29 'Prefactor '    2.0934       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.2669       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .70605       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=   5131.623     FROM MIGRAD    STATUS=CONVERGED    858 CALLS     3842 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2396        .85761       -.29187E-08    .48522E-04
   2  Prefactor     .10000E-03    6.9820       -.73779E-06** at limit **
   3  Prefactor     1.0414        3.4007        .90951E-07   -.20010E-03
   4  Prefactor     .10000E-03    16.312       -.18043E-05** at limit **
   5  Prefactor     .10000E-03    7.9950        .53090E-06** at limit **
   6  Prefactor     .10000E-03    2.7502        .42460E-07** at limit **
   7  norm          17.923        8.2575        .31432E-08   -.43654E-06
   8  norm          .10000E-03    2.9698       -.11966E-07** at limit **
   9  Prefactor     4.4937        19.632       -.31495E-05   -.38008E-04
  10  Prefactor     .10000E-03    2.8051       -.15508E-06** at limit **
  11  Prefactor     .10000E-03    5.3156       -.65235E-06** at limit **
  12  Prefactor     .10000E-03    27.565        .16060E-05** at limit **
  13  Prefactor     1.4386        3.0789        .19362E-07   -.13808E-03
  14  Prefactor     .10000E-03    18.243       -.15982E-06** at limit **
  15  Prefactor     .10000E-03    2.9019        .72880E-06** at limit **
  16  Prefactor     .10000E-03    28.811       -.24079E-05** at limit **
  17  norm          4.5882        1.2197       -.84734E-07   -.52684E-03
  18  Prefactor     9.8096        4.6275        .36694E-06   -.16091E-02
  19  norm          .10000E-03    6.4356        .14775E-06** at limit **
  20  Prefactor     .10000E-03    1.2999       -.22094E-07** at limit **
  21  Prefactor     .10000E-03    6.7826       -.58143E-06** at limit **
  22  Prefactor     .10000E-03    1.0446       -.84218E-08** at limit **
  23  Prefactor     .10000E-03    13.885       -.90089E-06** at limit **
  24  norm          .10000E-03    5.3633       -.20236E-06** at limit **
  25  Prefactor     .10000E-03    17.612       -.84225E-06** at limit **
  26  Prefactor     .10000E-03    12.012        .15394E-05** at limit **
  27  Prefactor     .10000E-03    29.090       -.24673E-05** at limit **
  28  norm          5.4999        12.884       -.11385E-06   -.23723E-04
  29  Prefactor     2.0973        7.4349       -.28494E-07   -.14826E-03
  30  Prefactor     .10000E-03    23.643        .52325E-05** at limit **
  31  norm          .10000E-03    2.8797        .10265E-06** at limit **
  32  Normalizat    1.2665        .19349       -.15301E-06   -.10469E-03
  33  Prefactor     .70644        .20404        .33348E-06   -.73241E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.23962
  Prefactor  = 0.0001
  Prefactor  = 1.04139
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 17.9227
  norm       = 0.0001
  Prefactor  = 4.49372
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.43856
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 4.58818
  Prefactor  = 9.80962
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.49986
  Prefactor  = 2.0973
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.26651
  Prefactor  = 0.706438
 **********
 **   18 **HESSE 
 **********

 FCN=   5131.623     FROM HESSE     STATUS=OK           679 CALLS     4521 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2396        .85630        .39531E-04   -1.5409    
   2  Prefactor     .10000E-03    6.9949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.0414        3.4360        .23064E-03   -1.5504    
   4  Prefactor     .10000E-03    16.381        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.0512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.7533        .11602E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          17.923        8.2511        .94607E-04   -1.4861    
   8  norm          .10000E-03    2.9920        .12054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.4937        19.865        .18985E-03   -1.5284    
  10  Prefactor     .10000E-03    2.8907        .23390E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.3202        .16135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    27.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.4386        3.0521        .17896E-03   -1.5468    
  14  Prefactor     .10000E-03    18.251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.6277        .22767E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    29.220        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.5882        1.5846        .18788E-04   -1.5280    
  18  Prefactor     9.8096        8.5111        .57303E-03   -1.5081    
  19  norm          .10000E-03    6.4996        .17739E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.3146        .79679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.8601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    1.0472        .71496E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    13.962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    5.3648        .16204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    17.664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    12.416        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    29.250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          5.4999        12.851        .17135E-03   -1.5239    
  29  Prefactor     2.0973        7.5099        .28530E-03   -1.5418    
  30  Prefactor     .10000E-03    23.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          .10000E-03    2.9810        .23715E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.2665        .23364        .22831E-03   -.84572    
  33  Prefactor     .70644        .24209        .31620E-03   -1.0328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05341e-09
Minuit parameter uncertainties:
  1  0.856306
  2  1.33732e-05
  3  3.43664
  4  5.07258e-05
  5  7.8041e-06
  6  3.48929e-06
  7  8.25159
  8  9.38691e-07
  9  18.9067
  10  2.96767e-06
  11  9.04966e-06
  12  5.68825e-05
  13  3.05238
  14  9.84682e-06
  15  0.000191314
  16  0.000113994
  17  1.58457
  18  8.51215
  19  1.92675e-06
  20  2.02185e-06
  21  8.88648e-06
  22  1.33913e-07
  23  2.22734e-05
  24  3.3079e-06
  25  2.51723e-05
  26  1.96757e-05
  27  9.03332e-05
  28  12.857
  29  7.51324
  30  0.000162367
  31  3.9847e-07
  32  0.233834
  33  0.24245
Done.

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

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  4.588e+00  1.585e+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

GAL_V02
   Spectrum: PowerLaw
681    Prefactor:  7.064e-01  2.424e-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:  1.267e+00  2.338e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 51.54
Ra Dec: 140.229 44.699
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 3.10e-07 +/- 1.07e-07
Energy Flux (Fixed Index): 1.19e-04 +/- 4.11e-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) = 5131.61732971
delta logL = 0.00612926782378

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5131.6139979
delta logL = 0.00946107696745

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.6724       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2348       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2726       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70204       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=   5131.614     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      200 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.6723        2.4373        .46544E-03    .62513E-03
   2  alpha         2.2348        .47076        .12472        .43371E-04
   3  Normalizat    1.2726        .19581        .51552E-01    .15443E-05
   4  Prefactor     .70208        .20350        .71647E-01    .19135E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.67234
  alpha      = 2.2348
  Normalizat = 1.27261
  Prefactor  = 0.702082
 **********
 **   18 **HESSE 
 **********

 FCN=   5131.614     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .48E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.6723        1.1985        .93088E-04   -1.5276    
   2  alpha         2.2348        .23828        .53808E-02   -.10628    
   3  Normalizat    1.2726        .22364        .22792E-03   -.84388    
   4  Prefactor     .70208        .23451        .31710E-03   -1.0345    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.75265e-13
Minuit parameter uncertainties:
  1  1.19853
  2  0.238651
  3  0.223814
  4  0.234845
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/128507': 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) = 5131.61399786
delta logL = 0.0094611119921

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  4.672e+00  1.199e+00  1.000e-04  1.000e+04 ( 1.000e-11)
317        alpha:  2.235e+00  2.387e-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:  7.021e-01  2.348e-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:  1.273e+00  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 55.06
Ra Dec: 140.229 44.699
Photon Index (Free Index): 2.23 +/- 0.24
Photon Flux (Free Index): 3.04e-07 +/- 8.08e-08
Energy Flux (Free Index): 1.21e-04 +/- 3.05e-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/128507/cmap_HighResolution_263433601_263692801_4FGL_J0920.9+4441_daily_bin93.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.10e-07', energy_flux2='1.21e-04', photon_flux_error='1.07e-07', dlogl='9.46e-03', energy_flux='1.19e-04', photon_flux2='3.04e-07', job_status='DONE', time_completed='2021-08-31 07:02:18.722433', photon_index_error2='0.24', photon_index2='2.23', ts='51.54', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', energy_flux_error2='3.05e-05', EG='1.27', time_epoch_completed='1630418538.72', return_code='0', job_id='128507', GAL2='0.70', EG2='1.27', return_code2='0', energy_flux_error='4.11e-05', photon_flux_error2='8.08e-08', ts2='55.06', photon_index='2.27' WHERE bin_id='93' AND source_name='4FGL J0920.9+4441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 07:02:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 128507: <4FGL_J0920.9+4441_daily_bin93> in cluster <slac> Done

Job <4FGL_J0920.9+4441_daily_bin93> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 06:46:52 2021
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:46:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 06:46:53 2021
Terminated at Tue Aug 31 07:02:19 2021
Results reported at Tue Aug 31 07:02:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.9+4441_daily_bin93 140.229 44.699 263433601 263692801 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 :                                   784.21 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             268.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   926 sec.
    Turnaround time :                            927 sec.

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

