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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin1
RA = 221.591, Dec = 31.1955
tmin = 239587201, tmax = 239846401
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='767758', job_status='RUN', time_executed='2021-09-10 08:43:35.766251', time_epoch_executed='1631288615.77' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='1'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/767758

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/767758/ft1_4FGL_J1446.3+3111_daily_bin1.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/767758/ft2_4FGL_J1446.3+3111_daily_bin1.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/767758/ft1_4FGL_J1446.3+3111_daily_bin1.fits outfile=/scratch/kocevski/767758/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1.fits ra=221.591 dec=31.1955 rad=12.0 tmin=239587201.0 tmax=239846401.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 1.33
user 1.12
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/767758/ft2_4FGL_J1446.3+3111_daily_bin1.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/767758/ft2_4FGL_J1446.3+3111_daily_bin1.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/767758/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1.fits evtable="EVENTS" outfile="/scratch/kocevski/767758/ft1_filtered_4FGL_J1446.3+3111_daily_bin1.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.51
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/767758/ft1_filtered_4FGL_J1446.3+3111_daily_bin1.fits" evtable="EVENTS" scfile=/scratch/kocevski/767758/ft2_4FGL_J1446.3+3111_daily_bin1.fits sctable="SC_DATA" outfile=/scratch/kocevski/767758/ltcube_239587201_239846401_4FGL_J1446.3+3111_daily_bin1.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/767758/ft2_4FGL_J1446.3+3111_daily_bin1.fits
.....................!
real 12.69
user 12.31
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/767758/ft1_filtered_4FGL_J1446.3+3111_daily_bin1.fits evtable="EVENTS" scfile=/scratch/kocevski/767758/ft2_4FGL_J1446.3+3111_daily_bin1.fits sctable="SC_DATA" expcube=/scratch/kocevski/767758/ltcube_239587201_239846401_4FGL_J1446.3+3111_daily_bin1.fits outfile=/scratch/kocevski/767758/expmap_239587201_239846401_4FGL_J1446.3+3111_daily_bin1.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/767758/ltcube_239587201_239846401_4FGL_J1446.3+3111_daily_bin1.fits
.....................!
real 190.57
user 185.13
sys 5.03

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

Setting source of interest to:
4FGL J1446.3+3111 @ 221.591 31.1955

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/767758/ft1_filtered_4FGL_J1446.3+3111_daily_bin1.fits scfile=/scratch/kocevski/767758/ft2_4FGL_J1446.3+3111_daily_bin1.fits outfile=/scratch/kocevski/767758/cmap_239587201_239846401_4FGL_J1446.3+3111_daily_bin1.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=221.591 yref=31.1955 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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/767758/ft1_filtered_4FGL_J1446.3+3111_daily_bin1.fits scfile=/scratch/kocevski/767758/ft2_4FGL_J1446.3+3111_daily_bin1.fits outfile=/scratch/kocevski/767758/cmap_HighResolution_239587201_239846401_4FGL_J1446.3+3111_daily_bin1.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=221.591 yref=31.1955 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.56
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/767758/ft1_filtered_4FGL_J1446.3+3111_daily_bin1.fits evtable="EVENTS" scfile=/scratch/kocevski/767758/ft2_4FGL_J1446.3+3111_daily_bin1.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/767758/Model_4FGL_J1446.3+3111_daily_bin1.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/767758/ft1_filtered_4FGL_J1446.3+3111_daily_bin1.fits.....................!
real 38.81
user 37.47
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/767758/ft1_filtered_4FGL_J1446.3+3111_daily_bin1.fits', '/scratch/kocevski/767758/ft2_4FGL_J1446.3+3111_daily_bin1.fits', expMap='/scratch/kocevski/767758/expmap_239587201_239846401_4FGL_J1446.3+3111_daily_bin1.fits', expCube='/scratch/kocevski/767758/ltcube_239587201_239846401_4FGL_J1446.3+3111_daily_bin1.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/767758/Model_4FGL_J1446.3+3111_daily_bin1.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1446.3+3111'

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  5.552e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.556e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/767758/ft1_filtered_4FGL_J1446.3+3111_daily_bin1.fits
Spacecraft file(s): /scratch/kocevski/767758/ft2_4FGL_J1446.3+3111_daily_bin1.fits
Exposure map: /scratch/kocevski/767758/expmap_239587201_239846401_4FGL_J1446.3+3111_daily_bin1.fits
Exposure cube: /scratch/kocevski/767758/ltcube_239587201_239846401_4FGL_J1446.3+3111_daily_bin1.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/767758/Model_4FGL_J1446.3+3111_daily_bin1.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) = 4412.85894827

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35576E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.1673       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .20193E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.1686       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.1924       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.195       1.0000         .10000E-03   10000.    
    13 'norm      '    3.9544       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .25972       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.395       1.0000         .10000E-03   10000.    
    22 'norm      '    5.2835       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1210       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .56360       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4412.794     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     2330 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10049E-03    150.66       -.10778E-04** at limit **
   2  Prefactor     4.1721        1.7262        .15636E-06   -.34959E-03
   3  norm          .10000E-03    1.1166        .24483E-06** at limit **
   4  Prefactor     .10139E-03    14.840       -.85709E-05** at limit **
   5  Prefactor     .10010E-03    8.8388        .19215E-05** at limit **
   6  Prefactor     1.1675        4.1957       -.69304E-05   -.10788E-02
   7  norm          .10000E-03    5.5713        .30208E-06** at limit **
   8  norm          7.1918        3.1277        .25640E-07    .10537E-03
   9  Prefactor     .10008E-03    15.533       -.15622E-05** at limit **
  10  norm          .10000E-03    .85580        .19633E-07** at limit **
  11  norm          .10000E-03    2.5716        .13616E-06** at limit **
  12  Prefactor     28.190        1.4715       -.25216E-06    .13098E-02
  13  norm          3.9526        4.1392       -.55592E-05   -.61104E-02
  14  Prefactor     .10079E-03    10.405        .69359E-05** at limit **
  15  norm          .10000E-03    2.9804       -.11369E-06** at limit **
  16  Prefactor     .10000E-03    6.5361       -.23846E-06** at limit **
  17  Prefactor     .10000E-03    2.1295       -.93019E-07** at limit **
  18  Prefactor     .10000E-03    3.1840       -.34127E-07** at limit **
  19  norm          .25963        .87997       -.29752E-06   -.10190E-04
  20  Prefactor     .10073E-03    76.297        .67507E-05** at limit **
  21  Prefactor     19.392        1.0251       -.48925E-07    .69024E-03
  22  norm          5.2818        1.6539       -.14984E-06   -.32088E-03
  23  Prefactor     .10000E-03    4.9505        .32218E-05** at limit **
  24  Prefactor     .10002E-03    12.264        .75802E-06** at limit **
  25  Prefactor     .10000E-03    5.4147       -.26735E-05** at limit **
  26  Normalizat    1.1215        .20038        .18901E-05    .14960E-04
  27  Prefactor     .56342        .17479        .64882E-06   -.31550E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100493
  Prefactor  = 4.17215
  norm       = 0.0001
  Prefactor  = 0.000101393
  Prefactor  = 0.000100103
  Prefactor  = 1.16753
  norm       = 0.0001
  norm       = 7.19185
  Prefactor  = 0.000100077
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 28.1895
  norm       = 3.95263
  Prefactor  = 0.000100788
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.259627
  Prefactor  = 0.000100732
  Prefactor  = 19.3916
  norm       = 5.28179
  Prefactor  = 0.000100001
  Prefactor  = 0.000100015
  Prefactor  = 0.000100003
  Normalizat = 1.12145
  Prefactor  = 0.56342
 **********
 **   18 **HESSE 
 **********

 FCN=   4412.794     FROM HESSE     STATUS=OK           540 CALLS     2870 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10049E-03    7.9843        .59954E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.1721        18.239        .49358E-02   -1.5299    
   3  norm          .10000E-03    1.1152        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10139E-03    26.958        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10010E-03    24.979        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.1675        4.2351        .10622E-01   -1.5492    
   7  norm          .10000E-03    5.5718        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.1918        3.1308        .37392E-02   -1.5172    
   9  Prefactor     .10008E-03    16.190        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .85326        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.5527        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     28.190        42.379        .18862E-02   -1.4646    
  13  norm          3.9526        4.5973        .50711E-02   -1.5310    
  14  Prefactor     .10079E-03    24.222        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.9804        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.5209        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.1276        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.1776        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .25963        .88001        .26354E-01   -1.5606    
  20  Prefactor     .10073E-03    82.117        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     19.392        10.729        .22736E-02   -1.4827    
  22  norm          5.2818        1.6610        .43715E-02   -1.5248    
  23  Prefactor     .10000E-03    9.5912        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10002E-03    12.471        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    9.5597        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1215        .18415        .37203E-01   -.89066    
  27  Prefactor     .56342        .15699        .40555E-01   -1.0915    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32195e-07
Minuit parameter uncertainties:
  1  0.00396771
  2  17.4555
  3  2.17645e-06
  4  0.01226
  5  0.00321237
  6  4.23622
  7  1.94778e-05
  8  3.13087
  9  0.00223103
  10  2.10479e-07
  11  1.78057e-06
  12  42.4242
  13  4.59767
  14  0.00873945
  15  2.90593e-06
  16  3.99011e-05
  17  1.80934e-06
  18  2.60487e-06
  19  0.880052
  20  0.0155266
  21  10.73
  22  1.66098
  23  0.000159363
  24  0.000871127
  25  0.000364489
  26  0.184258
  27  0.157116
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.008e-04  8.739e-03  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.556e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  5.634e-01  1.571e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.121e+00  1.843e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 221.591 31.195
Photon Flux Upper Limit: 7.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.82e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/767758/likelihoodResults_239587201_239846401_4FGL_J1446.3+3111_daily_bin1.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): 102
logL (Free Index) = 4412.79465446
delta logL = -0.000196029157451

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4412.79446136
delta logL = -2.92874483421e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13175E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9260       1.0000          .0000       10.000    
     3 'Normalizat'    1.1215       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .56342       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+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=   4412.794     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      275 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11302E-03    15.530        .18142E-01** at limit **
   2  Index         2.7462        6.3714        .50000        .23677E-04
   3  Normalizat    1.1215        .41531E-02    .20339E-03    .26382E-04
   4  Prefactor     .56342        .37554E-02    .25069E-03    .16235E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000113023
  Index      = 2.7462
  Normalizat = 1.12145
  Prefactor  = 0.56342
 **********
 **   18 **HESSE 
 **********

 FCN=   4412.794     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      304 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11302E-03    115.87        .27114E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7462        5.7014        .50000       -.46762    
   3  Normalizat    1.1215        .11357E-01    .81357E-05   -.89066    
   4  Prefactor     .56342        .10270E-01    .10027E-04   -1.0915    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.11337e-08
Minuit parameter uncertainties:
  1  0.0778397
  2  394.18
  3  0.0113575
  4  0.0102699
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/767758': 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): 102
logL (Free Index) = 4412.79445955
delta logL = -1.12201996672e-06

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.130e-04  7.784e-02  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.746e+00  3.942e+02  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  5.634e-01  1.027e-02  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.121e+00  1.136e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 221.591 31.195

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/767758/cmap_HighResolution_239587201_239846401_4FGL_J1446.3+3111_daily_bin1.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.82e-03', job_status='DONE', photon_flux_upper_limit='7.46e-08', time_completed='2021-09-10 08:52:40.139080', job_id='767758', GAL2='0.56', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1631289160.14', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.56', dlogl='-1.12e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 08:52:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 767758: <4FGL_J1446.3+3111_daily_bin1> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin1> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 08:41:27 2021
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 08:41:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 08:41:29 2021
Terminated at Fri Sep 10 08:52:40 2021
Results reported at Fri Sep 10 08:52:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin1 221.591 31.1955 239587201 239846401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1446.3+3111 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   542.45 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             328.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   671 sec.
    Turnaround time :                            673 sec.

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

