/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 139 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 = 7445
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0920.9+4441_daily_bin112
RA = 140.229, Dec = 44.699
tmin = 268358401, tmax = 268617601
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='128533', job_status='RUN', time_executed='2021-08-31 06:49:41.327750', time_epoch_executed='1630417781.33' WHERE source_name='4FGL J0920.9+4441' and cadence='daily' and bin_id='112'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/128533

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/128533/ft1_4FGL_J0920.9+4441_daily_bin112.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/128533/ft2_4FGL_J0920.9+4441_daily_bin112.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/128533/ft1_4FGL_J0920.9+4441_daily_bin112.fits outfile=/scratch/kocevski/128533/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin112.fits ra=140.229 dec=44.699 rad=12.0 tmin=268358401.0 tmax=268617601.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 2.35
user 1.23
sys 0.94

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/128533/ft2_4FGL_J0920.9+4441_daily_bin112.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/128533/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin112.fits evtable="EVENTS" outfile="/scratch/kocevski/128533/ft1_filtered_4FGL_J0920.9+4441_daily_bin112.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.32
user 0.32
sys 0.92

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/128533/ft1_filtered_4FGL_J0920.9+4441_daily_bin112.fits" evtable="EVENTS" scfile=/scratch/kocevski/128533/ft2_4FGL_J0920.9+4441_daily_bin112.fits sctable="SC_DATA" outfile=/scratch/kocevski/128533/ltcube_268358401_268617601_4FGL_J0920.9+4441_daily_bin112.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/128533/ft2_4FGL_J0920.9+4441_daily_bin112.fits
.....................!
real 14.32
user 12.11
sys 1.18

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/128533/ft1_filtered_4FGL_J0920.9+4441_daily_bin112.fits evtable="EVENTS" scfile=/scratch/kocevski/128533/ft2_4FGL_J0920.9+4441_daily_bin112.fits sctable="SC_DATA" expcube=/scratch/kocevski/128533/ltcube_268358401_268617601_4FGL_J0920.9+4441_daily_bin112.fits outfile=/scratch/kocevski/128533/expmap_268358401_268617601_4FGL_J0920.9+4441_daily_bin112.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/128533/ltcube_268358401_268617601_4FGL_J0920.9+4441_daily_bin112.fits
.....................!
real 192.45
user 185.68
sys 5.83

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/128533/ft1_filtered_4FGL_J0920.9+4441_daily_bin112.fits scfile=/scratch/kocevski/128533/ft2_4FGL_J0920.9+4441_daily_bin112.fits outfile=/scratch/kocevski/128533/cmap_268358401_268617601_4FGL_J0920.9+4441_daily_bin112.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 1.42
user 0.35
sys 1.00

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/128533/ft1_filtered_4FGL_J0920.9+4441_daily_bin112.fits scfile=/scratch/kocevski/128533/ft2_4FGL_J0920.9+4441_daily_bin112.fits outfile=/scratch/kocevski/128533/cmap_HighResolution_268358401_268617601_4FGL_J0920.9+4441_daily_bin112.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 1.42
user 0.39
sys 0.97

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8710       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.6010       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10418E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11071E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.173       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.8386       1.0000         .10000E-03   10000.    
     7 'norm      '    .39493E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .14979E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    140.69       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.609       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.1526       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    9.9278       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.179       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .55924E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    13.390       1.0000         .10000E-03   10000.    
    24 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    3.3164       1.0000         .10000E-03   10000.    
    26 'Prefactor '    25.329       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    38.952       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    18.983       1.0000         .10000E-03   10000.    
    31 'norm      '    4.0782       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.2491       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .78380       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=   4900.055     FROM MIGRAD    STATUS=CONVERGED    881 CALLS     4660 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8715        1.1416        .89131E-08    .80912E-04
   2  Prefactor     2.5676        37.380       -.16895E-05   -.39834E-05
   3  Prefactor     .10000E-03    2.2797        .12921E-06** at limit **
   4  Prefactor     .10000E-03    59.178       -.97884E-07** at limit **
   5  Prefactor     12.169        13.160        .99268E-07    .34205E-04
   6  Prefactor     4.8383        12.707        .12407E-06    .12325E-03
   7  norm          .10011E-03    38.251        .12007E-04** at limit **
   8  norm          .10000E-03    3.6395       -.13696E-06** at limit **
   9  Prefactor     .10000E-03    16.478       -.16907E-06** at limit **
  10  Prefactor     .10001E-03    2.9066        .18741E-05** at limit **
  11  Prefactor     .10000E-03    16.718       -.30205E-06** at limit **
  12  Prefactor     140.76        103.91        .53298E-06   -.28556E-04
  13  Prefactor     .10000E-03    1.0598       -.28708E-07** at limit **
  14  Prefactor     23.573        48.267        .53070E-07    .61495E-06
  15  Prefactor     .10000E-03    3.0235       -.34784E-06** at limit **
  16  Prefactor     .10001E-03    31.598        .22084E-06** at limit **
  17  norm          3.1530        .84667        .39573E-07    .12717E-02
  18  Prefactor     .10000E-03    2.3629       -.31916E-06** at limit **
  19  norm          9.9249        8.2372       -.39570E-06   -.30078E-03
  20  Prefactor     .10000E-03    1.0867       -.11869E-06** at limit **
  21  Prefactor     17.186        14.380        .22284E-06    .31466E-03
  22  Prefactor     .10000E-03    4.6954        .13927E-05** at limit **
  23  Prefactor     13.391        34.233        .41564E-06    .21544E-03
  24  norm          .10000E-03    9.9769        .15512E-06** at limit **
  25  Prefactor     3.3178        21.491       -.62902E-06    .16196E-04
  26  Prefactor     25.371        15.213        .10018E-05    .10593E-02
  27  Prefactor     .10000E-03    9.7764       -.10821E-06** at limit **
  28  norm          38.953        19.330       -.14745E-06    .11519E-03
  29  Prefactor     .10000E-03    10.795       -.77517E-06** at limit **
  30  Prefactor     18.978        46.843       -.54516E-06    .35478E-04
  31  norm          4.0782        2.6203       -.27867E-07   -.18644E-04
  32  Normalizat    1.2489        .21326        .73976E-06    .42880E-03
  33  Prefactor     .78412        .21037        .14444E-05    .33600E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.87154
  Prefactor  = 2.56762
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.1691
  Prefactor  = 4.83827
  norm       = 0.000100108
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 140.758
  Prefactor  = 0.0001
  Prefactor  = 23.5728
  Prefactor  = 0.000100001
  Prefactor  = 0.000100009
  norm       = 3.15298
  Prefactor  = 0.0001
  norm       = 9.92487
  Prefactor  = 0.0001
  Prefactor  = 17.1861
  Prefactor  = 0.000100001
  Prefactor  = 13.3911
  norm       = 0.0001
  Prefactor  = 3.31784
  Prefactor  = 25.3709
  Prefactor  = 0.0001
  norm       = 38.9532
  Prefactor  = 0.000100001
  Prefactor  = 18.9778
  norm       = 4.07825
  Normalizat = 1.24893
  Prefactor  = 0.784123
 **********
 **   18 **HESSE 
 **********

 FCN=   4900.055     FROM HESSE     STATUS=OK           689 CALLS     5349 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8715        1.1311        .30449E-04   -1.5434    
   2  Prefactor     2.5676        36.641        .25297E-03   -1.5387    
   3  Prefactor     .10000E-03    2.2890        .10279E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    59.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.169        13.143        .11481E-03   -1.5010    
   6  Prefactor     4.8383        12.700        .18288E-03   -1.5268    
   7  norm          .10011E-03    49.110        .32668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.6488        .13037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    16.506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    4.9327        .20607E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    16.736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     140.76        103.87        .16982E-03   -1.3330    
  13  Prefactor     .10000E-03    1.0608        .70380E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.573        48.138        .82439E-04   -1.4737    
  15  Prefactor     .10000E-03    3.1212        .23759E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    31.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.1530        .84534        .31800E-04   -1.5353    
  18  Prefactor     .10000E-03    2.4077        .10506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          9.9249        8.2675        .12718E-03   -1.5078    
  20  Prefactor     .10000E-03    1.0995        .71249E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     17.186        14.343        .96633E-04   -1.4879    
  22  Prefactor     .10000E-03    17.673        .24336E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     13.391        34.152        .10946E-03   -1.4976    
  24  norm          .10000E-03    9.9807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     3.3178        21.390        .22229E-03   -1.5344    
  26  Prefactor     25.371        14.908        .79596E-04   -1.4700    
  27  Prefactor     .10000E-03    9.7793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          38.953        19.365        .64222E-04   -1.4459    
  29  Prefactor     .10000E-03    11.195        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     18.978        47.374        .91927E-04   -1.4836    
  31  norm          4.0782        2.6228        .88515E-04   -1.5304    
  32  Normalizat    1.2489        .24937        .24447E-03   -.85104    
  33  Prefactor     .78412        .24226        .31977E-03   -1.0032    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.24229e-09
Minuit parameter uncertainties:
  1  1.13115
  2  19.413
  3  8.52657e-06
  4  0.000343383
  5  13.1465
  6  12.7073
  7  0.00461829
  8  7.76442e-06
  9  3.40928e-05
  10  0.000328112
  11  7.33791e-05
  12  104.003
  13  3.03991e-06
  14  48.2174
  15  0.000123951
  16  0.00106902
  17  0.845341
  18  3.21868e-05
  19  8.26848
  20  1.62907e-05
  21  14.3463
  22  0.00020291
  23  34.2022
  24  2.4065e-05
  25  16.857
  26  14.9103
  27  2.5272e-05
  28  19.3679
  29  0.000258696
  30  47.4682
  31  2.62287
  32  0.249605
  33  0.242585
Done.

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

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  3.153e+00  8.453e-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:  7.841e-01  2.426e-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.249e+00  2.496e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 55.03
Ra Dec: 140.229 44.699
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.13e-07 +/- 5.71e-08
Energy Flux (Fixed Index): 8.17e-05 +/- 2.19e-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) = 4899.770262
delta logL = 0.284545084379

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4899.72746233
delta logL = 0.327344758364

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4608       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0423       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2799       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76571       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=   4899.727     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      207 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4608        1.5842        .54347E-02   -.24522E-02
   2  alpha         2.0422        .43028        .16342        .27587E-04
   3  Normalizat    1.2799        .19924        .54775E-01    .88491E-05
   4  Prefactor     .76570        .20845        .73040E-01    .12262E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.4608
  alpha      = 2.04221
  Normalizat = 1.27988
  Prefactor  = 0.765697
 **********
 **   18 **HESSE 
 **********

 FCN=   4899.727     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4608        .98781        .34386E-04   -1.5336    
   2  alpha         2.0422        .27754        .69782E-02   -.18415    
   3  Normalizat    1.2799        .22549        .24220E-03   -.84169    
   4  Prefactor     .76570        .23626        .32325E-03   -1.0101    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71923e-10
Minuit parameter uncertainties:
  1  0.98781
  2  0.27813
  3  0.22566
  4  0.236568
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/128533': 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) = 4899.72746232
delta logL = 0.327344770873

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  3.461e+00  9.878e-01  1.000e-04  1.000e+04 ( 1.000e-11)
317        alpha:  2.042e+00  2.781e-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.657e-01  2.366e-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.280e+00  2.257e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 55.40
Ra Dec: 140.229 44.699
Photon Index (Free Index): 2.04 +/- 0.28
Photon Flux (Free Index): 1.81e-07 +/- 6.33e-08
Energy Flux (Free Index): 9.23e-05 +/- 3.02e-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/128533/cmap_HighResolution_268358401_268617601_4FGL_J0920.9+4441_daily_bin112.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.13e-07', energy_flux2='9.23e-05', photon_flux_error='5.71e-08', dlogl='3.27e-01', energy_flux='8.17e-05', photon_flux2='1.81e-07', job_status='DONE', time_completed='2021-08-31 07:03:11.063373', photon_index_error2='0.28', photon_index2='2.04', ts='55.03', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='3.02e-05', EG='1.25', time_epoch_completed='1630418591.06', return_code='0', job_id='128533', GAL2='0.77', EG2='1.28', return_code2='0', energy_flux_error='2.19e-05', photon_flux_error2='6.33e-08', ts2='55.40', photon_index='2.27' WHERE bin_id='112' AND source_name='4FGL J0920.9+4441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 07:03:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0044>
Subject: Job 128533: <4FGL_J0920.9+4441_daily_bin112> in cluster <slac> Done

Job <4FGL_J0920.9+4441_daily_bin112> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 06:46:54 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:46:55 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:55 2021
Terminated at Tue Aug 31 07:03:11 2021
Results reported at Tue Aug 31 07:03:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.9+4441_daily_bin112 140.229 44.699 268358401 268617601 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 :                                   813.27 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             258.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   976 sec.
    Turnaround time :                            977 sec.

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

