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


Performing analysis on: 4FGL_J0932.6+5306_daily_bin1280
RA = 143.159, Dec = 53.1008
tmin = 571104001, tmax = 571363201
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='352898', job_status='RUN', time_executed='2021-08-31 18:20:38.214919', time_epoch_executed='1630459238.21' WHERE source_name='4FGL J0932.6+5306' and cadence='daily' and bin_id='1280'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/352898

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/352898/ft1_4FGL_J0932.6+5306_daily_bin1280.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/352898/ft2_4FGL_J0932.6+5306_daily_bin1280.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/352898/ft1_4FGL_J0932.6+5306_daily_bin1280.fits outfile=/scratch/kocevski/352898/ft1_filteredMKT_4FGL_J0932.6+5306_daily_bin1280.fits ra=143.159 dec=53.1008 rad=12.0 tmin=571104001.0 tmax=571363201.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.99
user 2.78
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/352898/ft2_4FGL_J0932.6+5306_daily_bin1280.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/352898/ft2_4FGL_J0932.6+5306_daily_bin1280.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/352898/ft1_filteredMKT_4FGL_J0932.6+5306_daily_bin1280.fits evtable="EVENTS" outfile="/scratch/kocevski/352898/ft1_filtered_4FGL_J0932.6+5306_daily_bin1280.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.49
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/352898/ft1_filtered_4FGL_J0932.6+5306_daily_bin1280.fits" evtable="EVENTS" scfile=/scratch/kocevski/352898/ft2_4FGL_J0932.6+5306_daily_bin1280.fits sctable="SC_DATA" outfile=/scratch/kocevski/352898/ltcube_571104001_571363201_4FGL_J0932.6+5306_daily_bin1280.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/352898/ft2_4FGL_J0932.6+5306_daily_bin1280.fits
.....................!
real 12.66
user 12.31
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/352898/ft1_filtered_4FGL_J0932.6+5306_daily_bin1280.fits evtable="EVENTS" scfile=/scratch/kocevski/352898/ft2_4FGL_J0932.6+5306_daily_bin1280.fits sctable="SC_DATA" expcube=/scratch/kocevski/352898/ltcube_571104001_571363201_4FGL_J0932.6+5306_daily_bin1280.fits outfile=/scratch/kocevski/352898/expmap_571104001_571363201_4FGL_J0932.6+5306_daily_bin1280.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/352898/ltcube_571104001_571363201_4FGL_J0932.6+5306_daily_bin1280.fits
.....................!
real 191.92
user 186.50
sys 5.07

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

Setting source of interest to:
4FGL J0932.6+5306 @ 143.159 53.1008

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/352898/ft1_filtered_4FGL_J0932.6+5306_daily_bin1280.fits scfile=/scratch/kocevski/352898/ft2_4FGL_J0932.6+5306_daily_bin1280.fits outfile=/scratch/kocevski/352898/cmap_571104001_571363201_4FGL_J0932.6+5306_daily_bin1280.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=143.159 yref=53.1008 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/352898/ft1_filtered_4FGL_J0932.6+5306_daily_bin1280.fits scfile=/scratch/kocevski/352898/ft2_4FGL_J0932.6+5306_daily_bin1280.fits outfile=/scratch/kocevski/352898/cmap_HighResolution_571104001_571363201_4FGL_J0932.6+5306_daily_bin1280.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=143.159 yref=53.1008 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/352898/ft1_filtered_4FGL_J0932.6+5306_daily_bin1280.fits evtable="EVENTS" scfile=/scratch/kocevski/352898/ft2_4FGL_J0932.6+5306_daily_bin1280.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/352898/Model_4FGL_J0932.6+5306_daily_bin1280.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/352898/ft1_filtered_4FGL_J0932.6+5306_daily_bin1280.fits..........................!
real 20.97
user 19.80
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/352898/ft1_filtered_4FGL_J0932.6+5306_daily_bin1280.fits', '/scratch/kocevski/352898/ft2_4FGL_J0932.6+5306_daily_bin1280.fits', expMap='/scratch/kocevski/352898/expmap_571104001_571363201_4FGL_J0932.6+5306_daily_bin1280.fits', expCube='/scratch/kocevski/352898/ltcube_571104001_571363201_4FGL_J0932.6+5306_daily_bin1280.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/352898/Model_4FGL_J0932.6+5306_daily_bin1280.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0932.6+5306'

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  1.653e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
372        Index:  2.453e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
373        Scale:  7.321e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/352898/ft1_filtered_4FGL_J0932.6+5306_daily_bin1280.fits
Spacecraft file(s): /scratch/kocevski/352898/ft2_4FGL_J0932.6+5306_daily_bin1280.fits
Exposure map: /scratch/kocevski/352898/expmap_571104001_571363201_4FGL_J0932.6+5306_daily_bin1280.fits
Exposure cube: /scratch/kocevski/352898/ltcube_571104001_571363201_4FGL_J0932.6+5306_daily_bin1280.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/352898/Model_4FGL_J0932.6+5306_daily_bin1280.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) = 791.964615389

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10497E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.380       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .71585E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .38392E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    9596.7       1.0000         .10000E-03   10000.    
    12 'norm      '    9.6234       1.0000         .10000E-03   10000.    
    13 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    14 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14901E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    17 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    9999.9       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9999.9       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    23 'norm      '    .10285E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .42997E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10063E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    24.639       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    6.7140       1.0000         .10000E-03   10000.    
    33 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    35 'Prefactor '    .22555       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   791.0097     FROM MIGRAD    STATUS=CONVERGED    154 CALLS     6013 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10024E-03    14.893        .69567E-06** at limit **
   2  Prefactor     14.381        1.0217       -.23398E-08   -.99633E-04
   3  Prefactor     .10000E-03    12.746       -.71596E-07** at limit **
   4  norm          .10081E-03    30.037        .76860E-07** at limit **
   5  norm          .10000E-03    22.591       -.50783E-06** at limit **
   6  Prefactor     .10026E-03    10.828        .28047E-06** at limit **
   7  Prefactor     .10006E-03    1.7475       -.13450E-06** at limit **
   8  Prefactor     .10259E-03    50.930        .16622E-05** at limit **
   9  Prefactor     .10113E-03    87.690        .26330E-05** at limit **
  10  Prefactor     .10021E-03    4.8379       -.84751E-06** at limit **
  11  norm          9596.7        1.0837        .56463E-08   -.66063E-03
  12  norm          9.6228        4.8448        .64816E-07    .19151E-03
  13  Prefactor    10000.0        2.5189        .78522E-06** at limit **
  14  Prefactor    10000.0        2.0956        .71355E-06** at limit **
  15  Prefactor     .69836E-02    11.929       -.18096E-05    .63054E-03
  16  Prefactor    10000.0        135.21        .36861E-05** at limit **
  17  Prefactor    10000.0        1.4523        .56026E-06** at limit **
  18  Prefactor     .10257E-03    52.391       -.45631E-06** at limit **
  19  norm          9999.9        1.5393        .61040E-06   -.20780E-03
  20  Prefactor     9999.9        3.4491        .95492E-06   -.32540E-03
  21  Prefactor     .10061E-03    27.401        .28216E-06** at limit **
  22  Prefactor    10000.0        161.10        .55459E-05** at limit **
  23  norm          .17520E-03    113.75       -.77424E-06** at limit **
  24  Prefactor     .10154E-03    4.5186       -.45481E-06** at limit **
  25  norm          .10000E-03    2.9806        .36779E-06** at limit **
  26  norm          .23388E-03    163.01       -.57632E-05** at limit **
  27  Prefactor     .10241E-03    55.601       -.93987E-06** at limit **
  28  norm          .10000E-03    14.946       -.81635E-06** at limit **
  29  Prefactor     .10529E-03    55.936       -.23161E-05** at limit **
  30  norm          24.635        1.0791        .83027E-08   -.98949E-04
  31  Prefactor     .10000E-03    14.834       -.42085E-07** at limit **
  32  norm          6.7138        4.1500       -.79030E-07   -.15153E-03
  33  norm          .10000E-03    1.8597       -.82572E-08** at limit **
  34  Normalizat    .10000E-01    .10477       -.14066E-05** at limit **
  35  Prefactor     .22555        .14466        .49888E-06    .34225E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100237
  Prefactor  = 14.3812
  Prefactor  = 0.0001
  norm       = 0.000100806
  norm       = 0.0001
  Prefactor  = 0.000100261
  Prefactor  = 0.000100063
  Prefactor  = 0.000102592
  Prefactor  = 0.000101127
  Prefactor  = 0.000100207
  norm       = 9596.75
  norm       = 9.62281
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 0.00698362
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 0.000102571
  norm       = 9999.93
  Prefactor  = 9999.93
  Prefactor  = 0.000100613
  Prefactor  = 10000
  norm       = 0.0001752
  Prefactor  = 0.000101543
  norm       = 0.0001
  norm       = 0.000233878
  Prefactor  = 0.000102412
  norm       = 0.000100001
  Prefactor  = 0.000105293
  norm       = 24.6353
  Prefactor  = 0.0001
  norm       = 6.71379
  norm       = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.225547
 **********
 **   18 **HESSE 
 **********

 FCN=   791.0097     FROM HESSE     STATUS=OK           824 CALLS     6837 TOTAL
                     EDM=   .81E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10024E-03    21.971        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.381        11.992        .26406E-02   -1.4949    
   3  Prefactor     .10000E-03    12.745        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10081E-03    33.254        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    24.645        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10026E-03    22.546        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10006E-03    15.736        .36430E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10259E-03    57.011        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10113E-03    178.70        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10021E-03    763.09        .10641E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9596.7        9798.3        .50833E-03    1.1664    
  12  norm          9.6228        4.8853        .32295E-02   -1.5087    
  13  Prefactor    10000.0        6921.9        .10500E-01    1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor    10000.0        7785.8        .10326E-01    1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .69836E-02    7624.4        .90712E-02   -1.5691    
  16  Prefactor    10000.0        463.46        .90712E-02    1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor    10000.0        6393.0        .10723E-01    1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10257E-03    134.84        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          9999.9        6504.8        .93994E-02    1.5654    
  20  Prefactor     9999.9        9108.9        .93785E-02    1.5656    
  21  Prefactor     .10061E-03    30.986        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor    10000.0        645.84        .90712E-02    1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .17520E-03    339.10        .90712E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10154E-03    546.77        .10615E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    2.9850        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .23388E-03    695.44        .90712E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10241E-03    130.99        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    14.966        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10529E-03    69.008        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          24.635        34.426        .20175E-02   -1.4715    
  31  Prefactor     .10000E-03    14.817        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          6.7138        4.1588        .38714E-02   -1.5190    
  33  norm          .10000E-03    1.8553        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    .10000E-01    .94439E-01    .12679       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Prefactor     .22555        .15632        .58627E-01   -1.2693    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.1408e-06
Minuit parameter uncertainties:
  1  0.00456328
  2  11.9941
  3  1.41098e-05
  4  0.0103631
  5  0.000186175
  6  0.00485292
  7  0.00199385
  8  0.0243352
  9  0.0284682
  10  0.0254436
  11  5400.52
  12  4.88548
  13  2.30512
  14  4.53609
  15  13.4593
  16  0.147593
  17  0.849677
  18  0.0373219
  19  139.15
  20  104.753
  21  0.00871761
  22  0.431841
  23  0.321211
  24  0.0586271
  25  3.26519e-05
  26  0.617564
  27  0.0356247
  28  0.000269503
  29  0.0382692
  30  34.4535
  31  8.78474e-05
  32  4.15896
  33  5.76727e-07
  34  7.03512e-07
  35  0.156607
Done.

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

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  1.000e+04  1.476e-01  1.000e-04  1.000e+04 ( 1.000e-12)
372        Index:  2.453e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
373        Scale:  7.321e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  2.255e-01  1.566e-01  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  1.000e-02  7.035e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 32.18
Ra Dec: 143.159 53.101
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 9.09e-05 +/- 1.34e-09
Energy Flux (Fixed Index): 2.79e-02 +/- 4.11e-07

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) = 762.278983589
delta logL = 28.7306977143

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 761.688033926
delta logL = 29.3216473765

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     2 'Index     '    3.8910       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .13347       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   761.1719     FROM MIGRAD    STATUS=CONVERGED    165 CALLS      330 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5327.7        3419.0        .18310E-01   -.77195E-05
   2  Index         4.2829        .44819        .63342E-04   -.79240E-04
   3  Normalizat    .10000E-01    .65219E-01    .41647E-02** at limit **
   4  Prefactor     .15265        .11652        .26181E-02   -.22005E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5327.66
  Index      = 4.28291
  Normalizat = 0.01
  Prefactor  = 0.152651
 **********
 **   18 **HESSE 
 **********

 FCN=   761.1719     FROM HESSE     STATUS=OK            27 CALLS      357 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5327.7        3332.6        .51646E-03    .65579E-01
   2  Index         4.2829        .43424        .25337E-05   -.14391    
   3  Normalizat    .10000E-01    .65225E-01    .83294E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15265        .11647        .10472E-03   -1.3231    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8633e-11
Minuit parameter uncertainties:
  1  3649.48
  2  0.434795
  3  3.75493e-07
  4  0.116649
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/352898': 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) = 761.171929795
delta logL = 29.837751508

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  5.328e+03  3.649e+03  1.000e-04  1.000e+04 ( 1.000e-12)
372        Index:  4.283e+00  4.348e-01  0.000e+00  1.000e+01 (-1.000e+00)
373        Scale:  7.321e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  1.527e-01  1.166e-01  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  1.000e-02  3.755e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 93.29
Ra Dec: 143.159 53.101
Photon Index (Free Index): 4.28 +/- 0.43
Photon Flux (Free Index): 8.22e-04 +/- 1.59e-04
Energy Flux (Free Index): 1.18e-01 +/- 2.13e-02

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/352898/cmap_HighResolution_571104001_571363201_4FGL_J0932.6+5306_daily_bin1280.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.09e-05', energy_flux2='1.18e-01', photon_flux_error='1.34e-09', dlogl='2.98e+01', energy_flux='2.79e-02', photon_flux2='8.22e-04', job_status='DONE', time_completed='2021-08-31 18:28:22.626325', photon_index_error2='0.43', photon_index2='4.28', ts='32.18', fit_tolerance='1e-08', GAL='0.23', photon_index_error='0.00', energy_flux_error2='2.13e-02', EG='0.01', time_epoch_completed='1630459702.63', return_code='0', job_id='352898', GAL2='0.15', EG2='0.01', return_code2='0', energy_flux_error='4.11e-07', photon_flux_error2='1.59e-04', ts2='93.29', photon_index='2.45' WHERE bin_id='1280' AND source_name='4FGL J0932.6+5306' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 18:28:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 352898: <4FGL_J0932.6+5306_daily_bin1280> in cluster <slac> Done

Job <4FGL_J0932.6+5306_daily_bin1280> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 18:20:23 2021
Job was executed on host(s) <bullet0199>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 18:20:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 18:20:25 2021
Terminated at Tue Aug 31 18:28:23 2021
Results reported at Tue Aug 31 18:28:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0932.6+5306_daily_bin1280 143.159 53.1008 571104001 571363201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0932.6+5306 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   449.18 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   477 sec.
    Turnaround time :                            480 sec.

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

