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


Performing analysis on: 4FGL_J1753.7+2847_daily_bin1339
RA = 268.433, Dec = 28.7967
tmin = 586396801, tmax = 586656001
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='279660', job_status='RUN', time_executed='2021-09-18 21:00:42.690426', time_epoch_executed='1632024042.69' WHERE source_name='4FGL J1753.7+2847' and cadence='daily' and bin_id='1339'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/279660

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/279660/ft1_4FGL_J1753.7+2847_daily_bin1339.fits


Retrieving the FT1 file...

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

Retrieving 31 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/279660/ft2_4FGL_J1753.7+2847_daily_bin1339.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/279660/ft1_4FGL_J1753.7+2847_daily_bin1339.fits outfile=/scratch/kocevski/279660/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin1339.fits ra=268.433 dec=28.7967 rad=12.0 tmin=586396801.0 tmax=586656001.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.58
user 2.37
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/279660/ft2_4FGL_J1753.7+2847_daily_bin1339.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/279660/ft2_4FGL_J1753.7+2847_daily_bin1339.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/279660/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin1339.fits evtable="EVENTS" outfile="/scratch/kocevski/279660/ft1_filtered_4FGL_J1753.7+2847_daily_bin1339.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.47
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/279660/ft1_filtered_4FGL_J1753.7+2847_daily_bin1339.fits" evtable="EVENTS" scfile=/scratch/kocevski/279660/ft2_4FGL_J1753.7+2847_daily_bin1339.fits sctable="SC_DATA" outfile=/scratch/kocevski/279660/ltcube_586396801_586656001_4FGL_J1753.7+2847_daily_bin1339.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/279660/ft2_4FGL_J1753.7+2847_daily_bin1339.fits
.....................!
real 8.49
user 8.15
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/279660/ft1_filtered_4FGL_J1753.7+2847_daily_bin1339.fits evtable="EVENTS" scfile=/scratch/kocevski/279660/ft2_4FGL_J1753.7+2847_daily_bin1339.fits sctable="SC_DATA" expcube=/scratch/kocevski/279660/ltcube_586396801_586656001_4FGL_J1753.7+2847_daily_bin1339.fits outfile=/scratch/kocevski/279660/expmap_586396801_586656001_4FGL_J1753.7+2847_daily_bin1339.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/279660/ltcube_586396801_586656001_4FGL_J1753.7+2847_daily_bin1339.fits
.....................!
real 190.45
user 184.98
sys 5.14

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

Setting source of interest to:
4FGL J1753.7+2847 @ 268.433 28.7967

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/279660/ft1_filtered_4FGL_J1753.7+2847_daily_bin1339.fits scfile=/scratch/kocevski/279660/ft2_4FGL_J1753.7+2847_daily_bin1339.fits outfile=/scratch/kocevski/279660/cmap_586396801_586656001_4FGL_J1753.7+2847_daily_bin1339.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=268.433 yref=28.7967 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/279660/ft1_filtered_4FGL_J1753.7+2847_daily_bin1339.fits scfile=/scratch/kocevski/279660/ft2_4FGL_J1753.7+2847_daily_bin1339.fits outfile=/scratch/kocevski/279660/cmap_HighResolution_586396801_586656001_4FGL_J1753.7+2847_daily_bin1339.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=268.433 yref=28.7967 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/279660/ft1_filtered_4FGL_J1753.7+2847_daily_bin1339.fits evtable="EVENTS" scfile=/scratch/kocevski/279660/ft2_4FGL_J1753.7+2847_daily_bin1339.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/279660/Model_4FGL_J1753.7+2847_daily_bin1339.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/279660/ft1_filtered_4FGL_J1753.7+2847_daily_bin1339.fits.....................!
real 60.28
user 58.90
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/279660/ft1_filtered_4FGL_J1753.7+2847_daily_bin1339.fits', '/scratch/kocevski/279660/ft2_4FGL_J1753.7+2847_daily_bin1339.fits', expMap='/scratch/kocevski/279660/expmap_586396801_586656001_4FGL_J1753.7+2847_daily_bin1339.fits', expCube='/scratch/kocevski/279660/ltcube_586396801_586656001_4FGL_J1753.7+2847_daily_bin1339.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/279660/Model_4FGL_J1753.7+2847_daily_bin1339.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1753.7+2847'

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  6.812e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  2.396e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
343        Scale:  1.625e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/279660/ft1_filtered_4FGL_J1753.7+2847_daily_bin1339.fits
Spacecraft file(s): /scratch/kocevski/279660/ft2_4FGL_J1753.7+2847_daily_bin1339.fits
Exposure map: /scratch/kocevski/279660/expmap_586396801_586656001_4FGL_J1753.7+2847_daily_bin1339.fits
Exposure cube: /scratch/kocevski/279660/ltcube_586396801_586656001_4FGL_J1753.7+2847_daily_bin1339.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/279660/Model_4FGL_J1753.7+2847_daily_bin1339.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) = 6703.92566823

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    55.979       1.0000         .10000E-03   10000.    
     2 'Prefactor '    83.638       1.0000         .10000E-03   10000.    
     3 'norm      '    6.6581       1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    64.371       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.8457       1.0000         .10000E-03   10000.    
     8 'Prefactor '    101.16       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .24493E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.771       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.7113       1.0000         .10000E-03   10000.    
    13 'norm      '    .10107E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.3729       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.9769       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10486E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    27.174       1.0000         .10000E-03   10000.    
    20 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2068       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98224       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6702.841     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     2510 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     56.125        49.534        .60326E-07    .51684E-05
   2  Prefactor     83.666        65.709        .10662E-05    .62830E-05
   3  norm          6.6547        6.9471        .25669E-06   -.10297E-03
   4  norm          .10000E-03    31.695       -.96049E-08** at limit **
   5  Prefactor     .10000E-03    44.718       -.24917E-06** at limit **
   6  Prefactor     64.364        153.50        .46216E-06    .58046E-05
   7  Prefactor     6.8460        13.422       -.82887E-07    .26591E-05
   8  Prefactor     101.38        85.690       -.94709E-06    .44819E-05
   9  Prefactor     .10002E-03    64.711        .37536E-05** at limit **
  10  Prefactor     26.163        102.78       -.71608E-06    .35928E-05
  11  Prefactor     .10000E-03    4.7211        .74088E-06** at limit **
  12  norm          2.7148        3.6320        .67419E-07    .10448E-03
  13  norm          .10000E-03    51.394       -.13880E-06** at limit **
  14  Prefactor     .10000E-03    3.9715       -.12856E-06** at limit **
  15  norm          3.3764        10.426       -.15513E-06    .16955E-04
  16  Prefactor     1.9779        5.9657        .66277E-05   -.10030E-03
  17  Prefactor     .10000E-03    14.222        .24236E-07** at limit **
  18  norm          .10000E-03    11.581       -.22036E-07** at limit **
  19  Prefactor     27.172        12.250       -.72588E-07    .16034E-04
  20  norm          .10000E-03    20.562       -.88035E-08** at limit **
  21  Normalizat    1.2071        .27738       -.33995E-06    .18951E-04
  22  Prefactor     .98219        .10760       -.51619E-06   -.14706E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 56.1252
  Prefactor  = 83.6662
  norm       = 6.65472
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 64.3641
  Prefactor  = 6.84604
  Prefactor  = 101.381
  Prefactor  = 0.00010002
  Prefactor  = 26.1634
  Prefactor  = 0.000100001
  norm       = 2.71476
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.37643
  Prefactor  = 1.97788
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 27.172
  norm       = 0.0001
  Normalizat = 1.20709
  Prefactor  = 0.982194
 **********
 **   18 **HESSE 
 **********

 FCN=   6702.841     FROM HESSE     STATUS=OK           338 CALLS     2848 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     56.125        49.546        .53615E-04   -1.4208    
   2  Prefactor     83.666        65.803        .21961E-03   -1.3876    
   3  norm          6.6547        6.9486        .77756E-03   -1.5192    
   4  norm          .10000E-03    31.696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    44.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     64.364        154.62        .50018E-04   -1.4102    
   7  Prefactor     6.8460        13.400        .15334E-03   -1.5185    
   8  Prefactor     101.38        85.644        .19987E-03   -1.3691    
   9  Prefactor     .10002E-03    65.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     26.163        102.64        .77426E-04   -1.4685    
  11  Prefactor     .10000E-03    4.7692        .17442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.7148        3.6153        .17095E-03   -1.5378    
  13  norm          .10000E-03    51.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.9976        .15932E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.3764        10.417        .22033E-03   -1.5340    
  16  Prefactor     1.9779        5.9788        .14741E-02   -1.5427    
  17  Prefactor     .10000E-03    14.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    11.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     27.172        12.254        .76851E-04   -1.4665    
  20  norm          .10000E-03    20.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2071        .32691        .38952E-03   -.86384    
  22  Prefactor     .98219        .12688        .17191E-03   -.93325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.6324e-10
Minuit parameter uncertainties:
  1  49.5825
  2  65.8601
  3  6.9494
  4  3.87126e-06
  5  0.00012581
  6  155.596
  7  13.4062
  8  85.7484
  9  0.00228247
  10  103.344
  11  0.000122302
  12  3.61564
  13  7.79485e-05
  14  2.05198e-05
  15  10.4221
  16  5.98058
  17  1.50908e-06
  18  5.72869e-06
  19  12.2553
  20  3.06036e-06
  21  0.327465
  22  0.126917
Done.

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

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  2.616e+01  1.033e+02  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  2.396e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
343        Scale:  1.625e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  9.822e-01  1.269e-01  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  1.207e+00  3.275e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 268.433 28.797
Photon Flux Upper Limit: 1.59e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.23e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/279660/likelihoodResults_586396801_586656001_4FGL_J1753.7+2847_daily_bin1339.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) = 6702.82086502
delta logL = 0.0202732195821

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6702.8156204
delta logL = 0.0255178439547

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.790       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7967       1.0000          .0000       10.000    
     3 'Normalizat'    1.1990       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98342       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+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=   6702.816     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      278 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.696        168.68        .94957E-04   -.31607E-04
   2  Index         2.8008        2.4712        .93645E-02   -.11851E-04
   3  Normalizat    1.1976        .31311        .39084E-03    .39426E-03
   4  Prefactor     .98403        .12511        .17175E-03   -.37034E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.6956
  Index      = 2.80077
  Normalizat = 1.19759
  Prefactor  = 0.98403
 **********
 **   18 **HESSE 
 **********

 FCN=   6702.816     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.696        90.602        .37983E-05   -1.4866    
   2  Index         2.8008        1.8555        .37458E-03   -.45543    
   3  Normalizat    1.1976        .31302        .78167E-04   -.86677    
   4  Prefactor     .98403        .12494        .34351E-04   -.93264    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.8325e-09
Minuit parameter uncertainties:
  1  80.274
  2  1.91288
  3  0.313514
  4  0.124976
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/279660': 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) = 6702.81560613
delta logL = 0.0255321135401

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  1.770e+01  8.027e+01  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  2.801e+00  1.913e+00  0.000e+00  1.000e+01 (-1.000e+00)
343        Scale:  1.625e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  9.840e-01  1.250e-01  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  1.198e+00  3.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
Ra Dec: 268.433 28.797

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/279660/cmap_HighResolution_586396801_586656001_4FGL_J1753.7+2847_daily_bin1339.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.23e-02', job_status='DONE', photon_flux_upper_limit='1.59e-07', time_completed='2021-09-18 21:13:12.821388', job_id='279660', GAL2='0.98', fit_tolerance='1e-08', EG2='1.20', EG='1.21', time_epoch_completed='1632024792.82', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.55e-02', ts2='0.14', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1339' AND source_name='4FGL J1753.7+2847' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 21:13:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 279660: <4FGL_J1753.7+2847_daily_bin1339> in cluster <slac> Done

Job <4FGL_J1753.7+2847_daily_bin1339> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Sep 18 21:00:31 2021
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 21:00:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 18 21:00:33 2021
Terminated at Sat Sep 18 21:13:13 2021
Results reported at Sat Sep 18 21:13:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.7+2847_daily_bin1339 268.433 28.7967 586396801 586656001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1753.7+2847 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   747.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             376.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            762 sec.

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

