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


Performing analysis on: 4FGL_J0920.9+4441_daily_bin770
RA = 140.229, Dec = 44.699
tmin = 438912001, tmax = 439171201
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='132786', job_status='RUN', time_executed='2021-08-31 07:03:27.240770', time_epoch_executed='1630418607.24' WHERE source_name='4FGL J0920.9+4441' and cadence='daily' and bin_id='770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/132786

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/132786/ft1_4FGL_J0920.9+4441_daily_bin770.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/132786/ft2_4FGL_J0920.9+4441_daily_bin770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/132786/ft1_4FGL_J0920.9+4441_daily_bin770.fits outfile=/scratch/kocevski/132786/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin770.fits ra=140.229 dec=44.699 rad=12.0 tmin=438912001.0 tmax=439171201.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.33
user 5.86
sys 0.43

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/132786/ft1_filtered_4FGL_J0920.9+4441_daily_bin770.fits" evtable="EVENTS" scfile=/scratch/kocevski/132786/ft2_4FGL_J0920.9+4441_daily_bin770.fits sctable="SC_DATA" outfile=/scratch/kocevski/132786/ltcube_438912001_439171201_4FGL_J0920.9+4441_daily_bin770.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/132786/ft2_4FGL_J0920.9+4441_daily_bin770.fits
.....................!
real 12.62
user 11.93
sys 0.58

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/132786/ft1_filtered_4FGL_J0920.9+4441_daily_bin770.fits evtable="EVENTS" scfile=/scratch/kocevski/132786/ft2_4FGL_J0920.9+4441_daily_bin770.fits sctable="SC_DATA" expcube=/scratch/kocevski/132786/ltcube_438912001_439171201_4FGL_J0920.9+4441_daily_bin770.fits outfile=/scratch/kocevski/132786/expmap_438912001_439171201_4FGL_J0920.9+4441_daily_bin770.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/132786/ltcube_438912001_439171201_4FGL_J0920.9+4441_daily_bin770.fits
.....................!
real 191.88
user 186.49
sys 4.86

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/132786/ft1_filtered_4FGL_J0920.9+4441_daily_bin770.fits scfile=/scratch/kocevski/132786/ft2_4FGL_J0920.9+4441_daily_bin770.fits outfile=/scratch/kocevski/132786/cmap_438912001_439171201_4FGL_J0920.9+4441_daily_bin770.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 0.77
user 0.37
sys 0.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/132786/ft1_filtered_4FGL_J0920.9+4441_daily_bin770.fits scfile=/scratch/kocevski/132786/ft2_4FGL_J0920.9+4441_daily_bin770.fits outfile=/scratch/kocevski/132786/cmap_HighResolution_438912001_439171201_4FGL_J0920.9+4441_daily_bin770.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 0.84
user 0.39
sys 0.37

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.931       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12435E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.897       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.919       1.0000         .10000E-03   10000.    
     7 'norm      '    1.8638       1.0000         .10000E-03   10000.    
     8 'norm      '    14.212       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.485       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.6318       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10198E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    92.739       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .63494       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10367E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .35865       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    11.195       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    16.204       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.5487       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10371E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    49.985       1.0000         .10000E-03   10000.    
    28 'norm      '    21.343       1.0000         .10000E-03   10000.    
    29 'Prefactor '    2.3185       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10308E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    9.2387       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .73699       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0954       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=   3338.604     FROM MIGRAD    STATUS=CONVERGED    865 CALLS     4597 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .25506        .19824E-08** at limit **
   2  Prefactor     19.919        17.224       -.93513E-06   -.19096E-04
   3  Prefactor     .10000E-03    3.7049        .55861E-07** at limit **
   4  Prefactor     .10000E-03    11.524        .12195E-05** at limit **
   5  Prefactor     12.898        11.572       -.75589E-07    .96535E-05
   6  Prefactor     11.920        13.848       -.21273E-06    .25880E-05
   7  norm          1.8661        5.9246       -.14110E-05   -.10620E-03
   8  norm          14.212        10.924        .30863E-06    .20681E-04
   9  Prefactor     13.486        19.495       -.55656E-07    .27880E-05
  10  Prefactor     2.6326        3.8107        .21164E-06    .48352E-04
  11  Prefactor     .10000E-03    11.307       -.11629E-05** at limit **
  12  Prefactor     92.719        85.190       -.14960E-04   -.83257E-04
  13  Prefactor     .10000E-03    1.7089       -.45155E-08** at limit **
  14  Prefactor     .10000E-03    24.943       -.63102E-06** at limit **
  15  Prefactor     .63235        3.2267       -.59603E-06    .77187E-04
  16  Prefactor     .10000E-03    51.413       -.10632E-04** at limit **
  17  norm          .35865        .37877       -.35809E-08    .21295E-03
  18  Prefactor     .10000E-03    1.2653        .84728E-08** at limit **
  19  norm          11.190        9.9490       -.10644E-06    .28691E-03
  20  Prefactor     .10000E-03    .96808        .33520E-08** at limit **
  21  Prefactor     16.204        14.035        .16469E-06    .31950E-04
  22  Prefactor     1.5488        5.4078       -.54530E-06   -.92722E-04
  23  Prefactor     .10000E-03    17.818       -.25181E-05** at limit **
  24  norm          .10000E-03    8.2636       -.19087E-09** at limit **
  25  Prefactor     .10000E-03    16.670        .23262E-05** at limit **
  26  Prefactor     .10000E-03    4.2340       -.11117E-06** at limit **
  27  Prefactor     49.980        47.068       -.42075E-05   -.43616E-04
  28  norm          21.341        24.483       -.19653E-05   -.15895E-04
  29  Prefactor     2.3133        3.7789        .14609E-05   -.17739E-02
  30  Prefactor     .10000E-03    46.569        .11148E-04** at limit **
  31  norm          9.2389        5.4628        .19479E-06    .50950E-04
  32  Normalizat    .73721        .23425        .29551E-05    .66700E-04
  33  Prefactor     1.0951        .23745       -.38472E-06    .13151E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 19.9187
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.898
  Prefactor  = 11.92
  norm       = 1.86608
  norm       = 14.2115
  Prefactor  = 13.4857
  Prefactor  = 2.6326
  Prefactor  = 0.0001
  Prefactor  = 92.7187
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.632354
  Prefactor  = 0.0001
  norm       = 0.358649
  Prefactor  = 0.0001
  norm       = 11.1896
  Prefactor  = 0.0001
  Prefactor  = 16.2038
  Prefactor  = 1.54879
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 49.9795
  norm       = 21.3414
  Prefactor  = 2.31332
  Prefactor  = 0.000100001
  norm       = 9.23885
  Normalizat = 0.737208
  Prefactor  = 1.09509
 **********
 **   18 **HESSE 
 **********

 FCN=   3338.604     FROM HESSE     STATUS=OK           693 CALLS     5290 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .26396        .56881E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.919        17.124        .89715E-04   -1.4815    
   3  Prefactor     .10000E-03    3.7342        .10788E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.898        11.574        .11154E-03   -1.4990    
   6  Prefactor     11.920        13.831        .11604E-03   -1.5017    
   7  norm          1.8661        5.8768        .23790E-03   -1.5435    
   8  norm          14.212        10.894        .10625E-03   -1.4954    
   9  Prefactor     13.486        19.485        .10908E-03   -1.4973    
  10  Prefactor     2.6326        3.7914        .12616E-03   -1.5383    
  11  Prefactor     .10000E-03    11.301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     92.719        85.354        .20865E-03   -1.3779    
  13  Prefactor     .10000E-03    1.7217        .73764E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    24.953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .63235        4.8855        .18913E-02   -1.5549    
  16  Prefactor     .10000E-03    51.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .35865        .37436        .35275E-04   -1.5588    
  18  Prefactor     .10000E-03    1.2790        .63359E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          11.190        9.9373        .11974E-03   -1.5039    
  20  Prefactor     .10000E-03    .97843        .55482E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     16.204        14.020        .99497E-04   -1.4903    
  22  Prefactor     1.5488        5.3886        .23416E-03   -1.5459    
  23  Prefactor     .10000E-03    17.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    8.2645        .16223E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    16.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    4.2442        .11607E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     49.980        47.435        .56722E-04   -1.4293    
  28  norm          21.341        24.782        .86699E-04   -1.4784    
  29  Prefactor     2.3133        8.1080        .13470E-02   -1.5404    
  30  Prefactor     .10000E-03    46.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          9.2389        5.4778        .99688E-04   -1.5100    
  32  Normalizat    .73721        .26903        .25968E-03   -1.0244    
  33  Prefactor     1.0951        .27433        .24444E-03   -.89624    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.05901e-09
Minuit parameter uncertainties:
  1  3.59626e-08
  2  17.1285
  3  8.98307e-06
  4  1.77121e-05
  5  11.5762
  6  13.835
  7  5.87857
  8  10.8958
  9  19.4943
  10  3.79172
  11  2.09525e-05
  12  85.4672
  13  1.99396e-06
  14  1.38417e-05
  15  3.51542
  16  0.000309758
  17  0.374363
  18  9.46491e-07
  19  9.93874
  20  2.91219e-07
  21  14.0232
  22  5.39033
  23  4.5062e-05
  24  8.25959e-06
  25  8.276e-05
  26  6.71844e-07
  27  47.4707
  28  24.7938
  29  8.11188
  30  0.000321707
  31  5.47813
  32  0.269518
  33  0.274686
Done.

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

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  3.586e-01  3.744e-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:  1.095e+00  2.747e-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:  7.372e-01  2.695e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.55
Ra Dec: 140.229 44.699
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.42e-08 +/- 2.53e-08
Energy Flux (Fixed Index): 9.30e-06 +/- 9.70e-06

TS (Fixed Index): 2.55
Ra Dec: 140.229 44.699
Photon Flux Upper Limit: 9.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.79e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/132786/likelihoodResults_438912001_439171201_4FGL_J0920.9+4441_daily_bin770.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3338.06596342
delta logL = 0.538197105759

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3338.03752299
delta logL = 0.566637530166

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .46356       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4518       1.0000          .0000       5.0000    
     3 'Normalizat'    .75030       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0841       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=   3338.038     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .86E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .46421        .48924        .84487E-02   -.17159E-03
   2  alpha         1.4516        .66091        .37452       -.84944E-05
   3  Normalizat    .75085        .20636        .42958E-01   -.18533E-04
   4  Prefactor     1.0834        .23366        .55508E-01    .70076E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.464215
  alpha      = 1.45164
  Normalizat = 0.750847
  Prefactor  = 1.08342
 **********
 **   18 **HESSE 
 **********

 FCN=   3338.038     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .46421        .46851        .36919E-04   -1.5572    
   2  alpha         1.4516        .68051        .15199E-01   -.43272    
   3  Normalizat    .75085        .23578        .25740E-03   -1.0192    
   4  Prefactor     1.0834        .26714        .24543E-03   -.89998    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36389e-10
Minuit parameter uncertainties:
  1  0.468511
  2  0.691142
  3  0.236096
  4  0.267475
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/132786': 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) = 3338.0375184
delta logL = 0.566642124117

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  4.642e-01  4.685e-01  1.000e-04  1.000e+04 ( 1.000e-11)
317        alpha:  1.452e+00  6.911e-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.083e+00  2.675e-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:  7.508e-01  2.361e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.69
Ra Dec: 140.229 44.699
Photon Index (Free Index): 1.45 +/- 0.69
Photon Flux (Free Index): 1.55e-08 +/- 1.73e-08
Energy Flux (Free Index): 2.33e-05 +/- 3.22e-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/132786/cmap_HighResolution_438912001_439171201_4FGL_J0920.9+4441_daily_bin770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.79e-05', comment='SUCCESS', photon_flux='2.42e-08', energy_flux2='2.33e-05', photon_flux_error='2.53e-08', dlogl='5.67e-01', energy_flux='9.30e-06', photon_flux2='1.55e-08', job_status='DONE', time_completed='2021-08-31 07:16:03.259145', photon_index_error2='0.69', photon_index2='1.45', ts='2.55', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='9.89e-08', energy_flux_error2='3.22e-05', EG='0.74', time_epoch_completed='1630419363.26', return_code='0', job_id='132786', GAL2='1.08', EG2='0.75', return_code2='0', energy_flux_error='9.70e-06', photon_flux_error2='1.73e-08', ts2='3.69', photon_index='2.27' WHERE bin_id='770' AND source_name='4FGL J0920.9+4441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 07:16:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 132786: <4FGL_J0920.9+4441_daily_bin770> in cluster <slac> Done

Job <4FGL_J0920.9+4441_daily_bin770> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 07:00:58 2021
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 07:00:59 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:00:59 2021
Terminated at Tue Aug 31 07:16:04 2021
Results reported at Tue Aug 31 07:16:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.9+4441_daily_bin770 140.229 44.699 438912001 439171201 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 :                                   751.30 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             270.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            906 sec.

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

