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


Performing analysis on: 4FGL_J1350.8+3033_daily_bin36
RA = 207.715, Dec = 30.5588
tmin = 248659201, tmax = 248918401
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='622', job_status='RUN', time_executed='2021-09-08 14:38:44.104440', time_epoch_executed='1631137124.1' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='36'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/622

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/622/ft1_4FGL_J1350.8+3033_daily_bin36.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/622/ft2_4FGL_J1350.8+3033_daily_bin36.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/622/ft1_4FGL_J1350.8+3033_daily_bin36.fits outfile=/scratch/kocevski/622/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin36.fits ra=207.715 dec=30.5588 rad=12.0 tmin=248659201.0 tmax=248918401.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.20
user 1.01
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/622/ft2_4FGL_J1350.8+3033_daily_bin36.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/622/ft2_4FGL_J1350.8+3033_daily_bin36.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/622/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin36.fits evtable="EVENTS" outfile="/scratch/kocevski/622/ft1_filtered_4FGL_J1350.8+3033_daily_bin36.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.45
user 0.30
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/622/ft1_filtered_4FGL_J1350.8+3033_daily_bin36.fits" evtable="EVENTS" scfile=/scratch/kocevski/622/ft2_4FGL_J1350.8+3033_daily_bin36.fits sctable="SC_DATA" outfile=/scratch/kocevski/622/ltcube_248659201_248918401_4FGL_J1350.8+3033_daily_bin36.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/622/ft2_4FGL_J1350.8+3033_daily_bin36.fits
.....................!
real 16.60
user 16.23
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/622/ft1_filtered_4FGL_J1350.8+3033_daily_bin36.fits evtable="EVENTS" scfile=/scratch/kocevski/622/ft2_4FGL_J1350.8+3033_daily_bin36.fits sctable="SC_DATA" expcube=/scratch/kocevski/622/ltcube_248659201_248918401_4FGL_J1350.8+3033_daily_bin36.fits outfile=/scratch/kocevski/622/expmap_248659201_248918401_4FGL_J1350.8+3033_daily_bin36.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/622/ltcube_248659201_248918401_4FGL_J1350.8+3033_daily_bin36.fits
.....................!
real 154.55
user 149.17
sys 4.48

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

Setting source of interest to:
4FGL J1350.8+3033 @ 207.715 30.5588

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/622/ft1_filtered_4FGL_J1350.8+3033_daily_bin36.fits scfile=/scratch/kocevski/622/ft2_4FGL_J1350.8+3033_daily_bin36.fits outfile=/scratch/kocevski/622/cmap_248659201_248918401_4FGL_J1350.8+3033_daily_bin36.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=207.715 yref=30.5588 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.47
user 0.30
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/622/ft1_filtered_4FGL_J1350.8+3033_daily_bin36.fits scfile=/scratch/kocevski/622/ft2_4FGL_J1350.8+3033_daily_bin36.fits outfile=/scratch/kocevski/622/cmap_HighResolution_248659201_248918401_4FGL_J1350.8+3033_daily_bin36.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=207.715 yref=30.5588 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.48
user 0.31
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/622/ft1_filtered_4FGL_J1350.8+3033_daily_bin36.fits evtable="EVENTS" scfile=/scratch/kocevski/622/ft2_4FGL_J1350.8+3033_daily_bin36.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/622/Model_4FGL_J1350.8+3033_daily_bin36.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/622/ft1_filtered_4FGL_J1350.8+3033_daily_bin36.fits.....................!
real 34.99
user 33.68
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/622/ft1_filtered_4FGL_J1350.8+3033_daily_bin36.fits', '/scratch/kocevski/622/ft2_4FGL_J1350.8+3033_daily_bin36.fits', expMap='/scratch/kocevski/622/expmap_248659201_248918401_4FGL_J1350.8+3033_daily_bin36.fits', expCube='/scratch/kocevski/622/ltcube_248659201_248918401_4FGL_J1350.8+3033_daily_bin36.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/622/Model_4FGL_J1350.8+3033_daily_bin36.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1350.8+3033'

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.772e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  2.415e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
290        Scale:  7.126e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/622/ft1_filtered_4FGL_J1350.8+3033_daily_bin36.fits
Spacecraft file(s): /scratch/kocevski/622/ft2_4FGL_J1350.8+3033_daily_bin36.fits
Exposure map: /scratch/kocevski/622/expmap_248659201_248918401_4FGL_J1350.8+3033_daily_bin36.fits
Exposure cube: /scratch/kocevski/622/ltcube_248659201_248918401_4FGL_J1350.8+3033_daily_bin36.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/622/Model_4FGL_J1350.8+3033_daily_bin36.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 4959.23938545

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11315E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.528       1.0000         .10000E-03   10000.    
     4 'norm      '    2.7329       1.0000         .10000E-03   10000.    
     5 'norm      '    5.8461       1.0000         .10000E-03   10000.    
     6 'norm      '    .53670       1.0000         .10000E-03   10000.    
     7 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10316E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10254E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.7629       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.5213       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.5754       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.7720       1.0000         .10000E-03   10000.    
    18 'norm      '    20.783       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10301E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .59874E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.080       1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.5991       1.0000         .10000E-03   10000.    
    24 'norm      '    2.7999       1.0000         .10000E-03   10000.    
    25 'norm      '    7.1180       1.0000         .10000E-03   10000.    
    26 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .12034E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.4376       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .50073       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4957.378     FROM MIGRAD    STATUS=CONVERGED    745 CALLS     3226 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.6137        .13843E-06** at limit **
   2  Prefactor     .10000E-03    25.366       -.26465E-06** at limit **
   3  Prefactor     10.539        23.851       -.12806E-05    .22399E-04
   4  norm          2.7316        4.7243       -.65279E-08   -.93887E-05
   5  norm          5.8661        5.6843       -.13210E-05   -.14100E-03
   6  norm          .51689        12.760        .28050E-05    .48561E-04
   7  norm          .10000E-03    7.5229       -.42063E-07** at limit **
   8  Prefactor     .10000E-03    2.1592        .21670E-06** at limit **
   9  Prefactor     .10000E-03    11.638        .23263E-06** at limit **
  10  norm          .10000E-03    8.8799       -.53284E-06** at limit **
  11  Prefactor     .10000E-03    23.468        .32383E-06** at limit **
  12  norm          2.7627        9.1353       -.90844E-06    .79763E-04
  13  Prefactor     2.5265        18.610       -.21507E-05    .15998E-04
  14  Prefactor     .10000E-03    9.5017        .29533E-06** at limit **
  15  Prefactor     .10000E-03    61.052        .79206E-06** at limit **
  16  Prefactor     2.5751        4.4791        .14972E-08    .69026E-04
  17  Prefactor     5.7712        11.458       -.12001E-06   -.15091E-05
  18  norm          20.784        15.736        .14358E-07   -.90589E-05
  19  Prefactor     .10000E-03    13.929        .88116E-07** at limit **
  20  norm          .10000E-03    2.4560        .29974E-06** at limit **
  21  Prefactor     .10000E-03    194.68       -.12545E-04** at limit **
  22  Prefactor     13.047        23.207       -.60074E-06    .11819E-04
  23  Prefactor     4.5992        3.8506        .38251E-07    .53146E-04
  24  norm          2.7993        11.036       -.21721E-05    .36765E-04
  25  norm          7.1182        3.2576       -.10147E-07   -.16241E-05
  26  norm          .10000E-03    3.2506        .65067E-07** at limit **
  27  Prefactor     .10000E-03    76.533        .34376E-06** at limit **
  28  Normalizat    1.4376        .19096        .13687E-06    .30905E-04
  29  Prefactor     .50070        .19615        .35474E-06   -.11469E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.5387
  norm       = 2.73163
  norm       = 5.86615
  norm       = 0.51689
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.7627
  Prefactor  = 2.52654
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.57508
  Prefactor  = 5.77117
  norm       = 20.7841
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 13.0472
  Prefactor  = 4.59922
  norm       = 2.79925
  norm       = 7.1182
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.43759
  Prefactor  = 0.500699
 **********
 **   18 **HESSE 
 **********

 FCN=   4957.378     FROM HESSE     STATUS=OK           559 CALLS     3785 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.7362        .26157E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    25.425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.539        23.773        .12348E-03   -1.5059    
   4  norm          2.7316        4.6817        .18416E-03   -1.5377    
   5  norm          5.8661        12.271        .10743E-03   -1.5224    
   6  norm          .51689        116.89        .30739E-02   -1.5564    
   7  norm          .10000E-03    7.5267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.2189        .10125E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    11.736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    8.9475        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    23.493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.7627        9.0564        .24487E-03   -1.5376    
  13  Prefactor     2.5265        18.908        .12864E-02   -1.5390    
  14  Prefactor     .10000E-03    9.5157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    61.258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.5751        4.4734        .18504E-03   -1.5387    
  17  Prefactor     5.7712        11.453        .16718E-03   -1.5227    
  18  norm          20.784        15.737        .87858E-04   -1.4796    
  19  Prefactor     .10000E-03    13.957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.4759        .10754E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    196.55        .51588E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     13.047        23.814        .11075E-03   -1.4985    
  23  Prefactor     4.5992        3.8666        .12093E-03   -1.5279    
  24  norm          2.7993        11.093        .12157E-02   -1.5373    
  25  norm          7.1182        3.2593        .82761E-04   -1.5174    
  26  norm          .10000E-03    3.2528        .12397E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    76.826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.4376        .23243        .19581E-03   -.79547    
  29  Prefactor     .50070        .22754        .33847E-03   -1.1194    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75463e-09
Minuit parameter uncertainties:
  1  2.30048e-05
  2  0.000114973
  3  23.7941
  4  4.68236
  5  12.2761
  6  15.5752
  7  5.60219e-06
  8  2.82365e-05
  9  5.28639e-05
  10  0.00010014
  11  6.04822e-05
  12  9.06092
  13  13.8294
  14  1.50103e-05
  15  0.00011467
  16  4.47395
  17  11.4573
  18  15.7397
  19  1.84265e-05
  20  7.33826e-06
  21  0.000984889
  22  23.8313
  23  3.86677
  24  11.1011
  25  3.25935
  26  9.50457e-07
  27  9.63139e-05
  28  0.232604
  29  0.227954
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  2.575e+00  4.474e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  2.415e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
290        Scale:  7.126e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  5.007e-01  2.280e-01  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  1.438e+00  2.326e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.40
Ra Dec: 207.715 30.559
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/622/likelihoodResults_248659201_248918401_4FGL_J1350.8+3033_daily_bin36.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) = 4957.32199352
delta logL = 0.0562848585905

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4957.31917849
delta logL = 0.0590998931102

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4839       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0904       1.0000          .0000       10.000    
     3 'Normalizat'    1.4438       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .49315       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+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=   4957.319     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      282 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4832        5.4868        .19259E-03    .76741E-05
   2  Index         2.0903        .83979        .10420E-01    .18170E-04
   3  Normalizat    1.4438        .20120        .19544E-03    .20514E-03
   4  Prefactor     .49314        .21596        .34084E-03    .12144E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.48323
  Index      = 2.09032
  Normalizat = 1.44382
  Prefactor  = 0.493142
 **********
 **   18 **HESSE 
 **********

 FCN=   4957.319     FROM HESSE     STATUS=OK            23 CALLS      305 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4832        5.4257        .77035E-05   -1.5335    
   2  Index         2.0903        .83071        .41680E-03   -.62111    
   3  Normalizat    1.4438        .20129        .39088E-04   -.79370    
   4  Prefactor     .49314        .21598        .13634E-04   -1.1229    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.02107e-11
Minuit parameter uncertainties:
  1  5.42651
  2  0.836598
  3  0.2014
  4  0.216339
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/622': 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) = 4957.31917847
delta logL = 0.0590999072092

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  3.483e+00  5.427e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  2.090e+00  8.366e-01  0.000e+00  1.000e+01 (-1.000e+00)
290        Scale:  7.126e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  4.931e-01  2.163e-01  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  1.444e+00  2.014e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.40
Ra Dec: 207.715 30.559

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/622/cmap_HighResolution_248659201_248918401_4FGL_J1350.8+3033_daily_bin36.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.99e-03', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2021-09-08 14:48:05.835700', job_id='622', GAL2='0.49', fit_tolerance='1e-08', EG2='1.44', EG='1.44', time_epoch_completed='1631137685.84', return_code2='0', ts='0.40', comment='SUCCESS', return_code='0', GAL='0.50', dlogl='5.91e-02', ts2='0.51', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='36' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 14:48:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 622: <4FGL_J1350.8+3033_daily_bin36> in cluster <slac> Done

Job <4FGL_J1350.8+3033_daily_bin36> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Sep  8 14:35:36 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 14:35:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 14:35:49 2021
Terminated at Wed Sep  8 14:48:06 2021
Results reported at Wed Sep  8 14:48:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin36 207.715 30.5588 248659201 248918401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1350.8+3033 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   558.54 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            750 sec.

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

