/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 9 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 = 7409
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0749.3+4453_daily_bin326
RA = 117.348, Dec = 44.8918
tmin = 323827201, tmax = 324086401
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='920326', job_status='RUN', time_executed='2021-08-28 15:01:29.771945', time_epoch_executed='1630188089.77' WHERE source_name='4FGL J0749.3+4453' and cadence='daily' and bin_id='326'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/920326

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/920326/ft1_4FGL_J0749.3+4453_daily_bin326.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/920326/ft2_4FGL_J0749.3+4453_daily_bin326.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/920326/ft1_4FGL_J0749.3+4453_daily_bin326.fits outfile=/scratch/kocevski/920326/ft1_filteredMKT_4FGL_J0749.3+4453_daily_bin326.fits ra=117.348 dec=44.8918 rad=12.0 tmin=323827201.0 tmax=324086401.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 3.36
user 3.14
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/920326/ft2_4FGL_J0749.3+4453_daily_bin326.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/920326/ft2_4FGL_J0749.3+4453_daily_bin326.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/920326/ft1_filteredMKT_4FGL_J0749.3+4453_daily_bin326.fits evtable="EVENTS" outfile="/scratch/kocevski/920326/ft1_filtered_4FGL_J0749.3+4453_daily_bin326.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.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/920326/ft1_filtered_4FGL_J0749.3+4453_daily_bin326.fits" evtable="EVENTS" scfile=/scratch/kocevski/920326/ft2_4FGL_J0749.3+4453_daily_bin326.fits sctable="SC_DATA" outfile=/scratch/kocevski/920326/ltcube_323827201_324086401_4FGL_J0749.3+4453_daily_bin326.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/920326/ft2_4FGL_J0749.3+4453_daily_bin326.fits
.....................!
real 11.79
user 11.44
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/920326/ft1_filtered_4FGL_J0749.3+4453_daily_bin326.fits evtable="EVENTS" scfile=/scratch/kocevski/920326/ft2_4FGL_J0749.3+4453_daily_bin326.fits sctable="SC_DATA" expcube=/scratch/kocevski/920326/ltcube_323827201_324086401_4FGL_J0749.3+4453_daily_bin326.fits outfile=/scratch/kocevski/920326/expmap_323827201_324086401_4FGL_J0749.3+4453_daily_bin326.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/920326/ltcube_323827201_324086401_4FGL_J0749.3+4453_daily_bin326.fits
.....................!
real 190.03
user 185.13
sys 4.43

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

Setting source of interest to:
4FGL J0749.3+4453 @ 117.348 44.8918

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/920326/ft1_filtered_4FGL_J0749.3+4453_daily_bin326.fits scfile=/scratch/kocevski/920326/ft2_4FGL_J0749.3+4453_daily_bin326.fits outfile=/scratch/kocevski/920326/cmap_323827201_324086401_4FGL_J0749.3+4453_daily_bin326.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=117.348 yref=44.8918 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.80
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/920326/ft1_filtered_4FGL_J0749.3+4453_daily_bin326.fits scfile=/scratch/kocevski/920326/ft2_4FGL_J0749.3+4453_daily_bin326.fits outfile=/scratch/kocevski/920326/cmap_HighResolution_323827201_324086401_4FGL_J0749.3+4453_daily_bin326.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=117.348 yref=44.8918 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.76
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/920326/ft1_filtered_4FGL_J0749.3+4453_daily_bin326.fits evtable="EVENTS" scfile=/scratch/kocevski/920326/ft2_4FGL_J0749.3+4453_daily_bin326.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/920326/Model_4FGL_J0749.3+4453_daily_bin326.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/920326/ft1_filtered_4FGL_J0749.3+4453_daily_bin326.fits.....................!
real 73.50
user 71.11
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/920326/ft1_filtered_4FGL_J0749.3+4453_daily_bin326.fits', '/scratch/kocevski/920326/ft2_4FGL_J0749.3+4453_daily_bin326.fits', expMap='/scratch/kocevski/920326/expmap_323827201_324086401_4FGL_J0749.3+4453_daily_bin326.fits', expCube='/scratch/kocevski/920326/ltcube_323827201_324086401_4FGL_J0749.3+4453_daily_bin326.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/920326/Model_4FGL_J0749.3+4453_daily_bin326.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0749.3+4453'

4FGL J0749.3+4453
   Spectrum: PowerLaw
283    Prefactor:  4.702e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.263e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  1.134e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/920326/ft1_filtered_4FGL_J0749.3+4453_daily_bin326.fits
Spacecraft file(s): /scratch/kocevski/920326/ft2_4FGL_J0749.3+4453_daily_bin326.fits
Exposure map: /scratch/kocevski/920326/expmap_323827201_324086401_4FGL_J0749.3+4453_daily_bin326.fits
Exposure cube: /scratch/kocevski/920326/ltcube_323827201_324086401_4FGL_J0749.3+4453_daily_bin326.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/920326/Model_4FGL_J0749.3+4453_daily_bin326.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) = 7488.50514111

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .67744       1.0000         .10000E-03   10000.    
     2 'norm      '    .12935E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.7710       1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.9725       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10291E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.557       1.0000         .10000E-03   10000.    
    10 'norm      '    6.2724       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.9763       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.0652       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .17899       1.0000         .10000E-03   10000.    
    18 'norm      '    4.1553       1.0000         .10000E-03   10000.    
    19 'norm      '    4.0656       1.0000         .10000E-03   10000.    
    20 'norm      '    1.4638       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.0186       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .31743       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .11379E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.3167       1.0000         .10000E-03   10000.    
    25 'norm      '    20.943       1.0000         .10000E-03   10000.    
    26 'norm      '    .36807E-02   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .92438       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0077       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7488.284     FROM MIGRAD    STATUS=CONVERGED    711 CALLS     3073 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .68067        2.4503        .79154E-06    .47575E-03
   2  norm          .10000E-03    2.1874        .39872E-07** at limit **
   3  Prefactor     5.7728        13.282        .20631E-05    .31250E-03
   4  norm          .10000E-03    1.5989        .28632E-07** at limit **
   5  Prefactor     1.9720        3.9052        .96103E-07    .14824E-03
   6  Prefactor     .10000E-03    13.419       -.32280E-05** at limit **
   7  norm          .10000E-03    4.8810        .96203E-06** at limit **
   8  Prefactor     .10000E-03    2.6309       -.43160E-07** at limit **
   9  Prefactor     20.548        22.705        .25898E-05    .19777E-03
  10  norm          6.2720        1.4539       -.16805E-07    .10103E-03
  11  Prefactor     2.9741        8.0009        .44561E-06    .10006E-03
  12  Prefactor     .10000E-03    4.0932       -.10910E-06** at limit **
  13  norm          .10000E-03    10.668        .10010E-05** at limit **
  14  norm          2.0650        1.9198       -.11305E-07    .32333E-04
  15  Prefactor     .10000E-03    5.1041       -.96924E-06** at limit **
  16  Prefactor     .10000E-03    38.142       -.20231E-05** at limit **
  17  Prefactor     .15410        8.6934       -.53747E-05    .94689E-03
  18  norm          4.1549        5.1007        .31186E-06    .19022E-03
  19  norm          4.0654        2.1671       -.35504E-07    .23418E-04
  20  norm          1.4640        .65642        .20168E-07    .52387E-03
  21  Prefactor     5.0190        10.903       -.10985E-05    .90909E-04
  22  Prefactor     .32064        3.0126        .24363E-05    .13223E-02
  23  Prefactor     .10000E-03    63.204        .54420E-05** at limit **
  24  Prefactor     2.3116        10.314        .22169E-05    .96134E-04
  25  norm          20.947        8.3893        .51973E-06    .30265E-03
  26  norm          .10004E-03    8.2935        .30295E-05** at limit **
  27  Normalizat    .92481        .18919        .22920E-06    .22501E-03
  28  Prefactor     1.0075        .12294       -.51094E-06    .18674E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.680669
  norm       = 0.0001
  Prefactor  = 5.77279
  norm       = 0.0001
  Prefactor  = 1.97199
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.548
  norm       = 6.27197
  Prefactor  = 2.97409
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.06498
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.154103
  norm       = 4.15488
  norm       = 4.06541
  norm       = 1.46402
  Prefactor  = 5.01903
  Prefactor  = 0.320638
  Prefactor  = 0.0001
  Prefactor  = 2.31162
  norm       = 20.9471
  norm       = 0.000100036
  Normalizat = 0.924805
  Prefactor  = 1.00749
 **********
 **   18 **HESSE 
 **********

 FCN=   7488.284     FROM HESSE     STATUS=OK           527 CALLS     3600 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .68067        2.5502        .26124E-03   -1.5543    
   2  norm          .10000E-03    4.4522        .24638E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.7728        14.370        .83595E-03   -1.5227    
   4  norm          .10000E-03    1.6105        .10680E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9720        3.9004        .23145E-03   -1.5427    
   6  Prefactor     .10000E-03    13.588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    4.9601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.6345        .13708E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.548        22.847        .88340E-04   -1.4801    
  10  norm          6.2720        1.4547        .47952E-04   -1.5207    
  11  Prefactor     2.9741        8.0014        .23534E-03   -1.5363    
  12  Prefactor     .10000E-03    4.0962        .17098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    10.863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.0650        1.9146        .11162E-03   -1.5421    
  15  Prefactor     .10000E-03    5.1572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    38.301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .15410        22.677        .23083E-02   -1.5629    
  18  norm          4.1549        5.1127        .19773E-03   -1.5300    
  19  norm          4.0654        2.1643        .85603E-04   -1.5305    
  20  norm          1.4640        .65468        .43702E-04   -1.5466    
  21  Prefactor     5.0190        10.812        .17950E-03   -1.5260    
  22  Prefactor     .32064        4.2448        .22110E-02   -1.5595    
  23  Prefactor     .10000E-03    63.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     2.3116        10.375        .26952E-03   -1.5404    
  25  norm          20.947        8.2309        .87523E-04   -1.4792    
  26  norm          .10004E-03    47.201        .39469E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .92481        .22038        .30356E-03   -.95594    
  28  Prefactor     1.0075        .14359        .19890E-03   -.92480    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3807e-08
Minuit parameter uncertainties:
  1  2.5506
  2  3.95194e-06
  3  14.3789
  4  1.55249e-06
  5  3.90087
  6  0.000206053
  7  2.8817e-05
  8  7.51362e-07
  9  22.8568
  10  1.45473
  11  8.00423
  12  2.84202e-06
  13  4.59503e-05
  14  1.91464
  15  2.66457e-05
  16  0.000182925
  17  3.73902
  18  5.11319
  19  2.16435
  20  0.654685
  21  10.816
  22  2.33313
  23  0.000179624
  24  9.79696
  25  8.23131
  26  0.002597
  27  0.220592
  28  0.143641
Done.

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

Extracting fit parameters...

4FGL J0749.3+4453
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  2.842e-06  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.263e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  1.134e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
644    Prefactor:  1.007e+00  1.436e-01  0.000e+00  1.000e+01 ( 1.000e+00)
645        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
646        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
643   Normalization:  9.248e-01  2.206e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 117.348 44.892
Photon Flux Upper Limit: 4.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/920326/likelihoodResults_323827201_324086401_4FGL_J0749.3+4453_daily_bin326.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) = 7488.28537091
delta logL = -0.00115970203115

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7488.28421107
delta logL = 1.36185917654e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2446       1.0000          .0000       10.000    
     3 'Normalizat'    .92481       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0075       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6470E+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=   7488.284     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      242 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10228E-03    63.531        .17328E-02** at limit **
   2  Index         2.1551        8.1480        .50000        .29511E-04
   3  Normalizat    .92480        .17802E-01    .30356E-03   -.36477E-04
   4  Prefactor     1.0075        .12201E-01    .19890E-03    .54871E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102283
  Index      = 2.15514
  Normalizat = 0.924802
  Prefactor  = 1.0075
 **********
 **   18 **HESSE 
 **********

 FCN=   7488.284     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .69E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10228E-03    255.54        .34656E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1551        8.5381        .50000       -.60526    
   3  Normalizat    .92480        .37793E-01    .12143E-04   -.95594    
   4  Prefactor     1.0075        .25901E-01    .79560E-05   -.92480    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.88684e-08
Minuit parameter uncertainties:
  1  0.0485148
  2  768.416
  3  0.037794
  4  0.0259012
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/920326': 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) = 7488.2842106
delta logL = 6.1235823523e-07

Extracting fit parameters...

4FGL J0749.3+4453
   Spectrum: PowerLaw
283    Prefactor:  1.023e-04  4.851e-02  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.155e+00  7.684e+02  0.000e+00  1.000e+01 (-1.000e+00)
285        Scale:  1.134e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
644    Prefactor:  1.007e+00  2.590e-02  0.000e+00  1.000e+01 ( 1.000e+00)
645        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
646        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
643   Normalization:  9.248e-01  3.779e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 117.348 44.892

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/920326/cmap_HighResolution_323827201_324086401_4FGL_J0749.3+4453_daily_bin326.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.23e-03', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2021-08-28 15:17:33.969895', job_id='920326', GAL2='1.01', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1630189053.97', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='6.12e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='326' AND source_name='4FGL J0749.3+4453' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 15:17:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 920326: <4FGL_J0749.3+4453_daily_bin326> in cluster <slac> Done

Job <4FGL_J0749.3+4453_daily_bin326> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 28 15:01:07 2021
Job was executed on host(s) <bullet0199>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 15:01:09 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 15:01:09 2021
Terminated at Sat Aug 28 15:17:34 2021
Results reported at Sat Aug 28 15:17:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.3+4453_daily_bin326 117.348 44.8918 323827201 324086401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0749.3+4453 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   939.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             337.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   985 sec.
    Turnaround time :                            987 sec.

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

