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


Performing analysis on: 4FGL_J1754.7+3444_monthly_bin94
RA = 268.679, Dec = 34.7417
tmin = 480643201, tmax = 483235201
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='976253', job_status='RUN', time_executed='2021-11-01 02:16:01.563066', time_epoch_executed='1635758161.56' WHERE source_name='4FGL J1754.7+3444' and cadence='monthly' and bin_id='94'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/976253

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/976253/ft1_4FGL_J1754.7+3444_monthly_bin94.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/976253/ft2_4FGL_J1754.7+3444_monthly_bin94.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/976253/ft1_4FGL_J1754.7+3444_monthly_bin94.fits outfile=/scratch/kocevski/976253/ft1_filteredMKT_4FGL_J1754.7+3444_monthly_bin94.fits ra=268.679 dec=34.7417 rad=12.0 tmin=480643201.0 tmax=483235201.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 224.14
user 30.94
sys 0.53

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/976253/ft2_4FGL_J1754.7+3444_monthly_bin94.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/976253/ft2_4FGL_J1754.7+3444_monthly_bin94.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/976253/ft1_filteredMKT_4FGL_J1754.7+3444_monthly_bin94.fits evtable="EVENTS" outfile="/scratch/kocevski/976253/ft1_filtered_4FGL_J1754.7+3444_monthly_bin94.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 182.55
user 0.65
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/976253/ft1_filtered_4FGL_J1754.7+3444_monthly_bin94.fits" evtable="EVENTS" scfile=/scratch/kocevski/976253/ft2_4FGL_J1754.7+3444_monthly_bin94.fits sctable="SC_DATA" outfile=/scratch/kocevski/976253/ltcube_480643201_483235201_4FGL_J1754.7+3444_monthly_bin94.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/976253/ft2_4FGL_J1754.7+3444_monthly_bin94.fits
.....................!
real 323.52
user 107.81
sys 0.48

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/976253/ft1_filtered_4FGL_J1754.7+3444_monthly_bin94.fits evtable="EVENTS" scfile=/scratch/kocevski/976253/ft2_4FGL_J1754.7+3444_monthly_bin94.fits sctable="SC_DATA" expcube=/scratch/kocevski/976253/ltcube_480643201_483235201_4FGL_J1754.7+3444_monthly_bin94.fits outfile=/scratch/kocevski/976253/expmap_480643201_483235201_4FGL_J1754.7+3444_monthly_bin94.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/976253/ltcube_480643201_483235201_4FGL_J1754.7+3444_monthly_bin94.fits
.....................!
real 206.73
user 186.78
sys 5.21

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

Setting source of interest to:
4FGL J1754.7+3444 @ 268.679 34.7417

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/976253/ft1_filtered_4FGL_J1754.7+3444_monthly_bin94.fits scfile=/scratch/kocevski/976253/ft2_4FGL_J1754.7+3444_monthly_bin94.fits outfile=/scratch/kocevski/976253/cmap_480643201_483235201_4FGL_J1754.7+3444_monthly_bin94.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.679 yref=34.7417 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 221.14
user 0.60
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/976253/ft1_filtered_4FGL_J1754.7+3444_monthly_bin94.fits scfile=/scratch/kocevski/976253/ft2_4FGL_J1754.7+3444_monthly_bin94.fits outfile=/scratch/kocevski/976253/cmap_HighResolution_480643201_483235201_4FGL_J1754.7+3444_monthly_bin94.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.679 yref=34.7417 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 98.38
user 0.60
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/976253/ft1_filtered_4FGL_J1754.7+3444_monthly_bin94.fits evtable="EVENTS" scfile=/scratch/kocevski/976253/ft2_4FGL_J1754.7+3444_monthly_bin94.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/976253/Model_4FGL_J1754.7+3444_monthly_bin94.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/976253/ft1_filtered_4FGL_J1754.7+3444_monthly_bin94.fits....................!
real 1188.10
user 667.29
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/976253/ft1_filtered_4FGL_J1754.7+3444_monthly_bin94.fits', '/scratch/kocevski/976253/ft2_4FGL_J1754.7+3444_monthly_bin94.fits', expMap='/scratch/kocevski/976253/expmap_480643201_483235201_4FGL_J1754.7+3444_monthly_bin94.fits', expCube='/scratch/kocevski/976253/ltcube_480643201_483235201_4FGL_J1754.7+3444_monthly_bin94.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/976253/Model_4FGL_J1754.7+3444_monthly_bin94.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1754.7+3444'

4FGL J1754.7+3444
   Spectrum: LogParabola
349         norm:  9.326e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
350        alpha:  2.477e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
351         beta:  3.580e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
352           Eb:  7.201e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/976253/ft1_filtered_4FGL_J1754.7+3444_monthly_bin94.fits
Spacecraft file(s): /scratch/kocevski/976253/ft2_4FGL_J1754.7+3444_monthly_bin94.fits
Exposure map: /scratch/kocevski/976253/expmap_480643201_483235201_4FGL_J1754.7+3444_monthly_bin94.fits
Exposure cube: /scratch/kocevski/976253/ltcube_480643201_483235201_4FGL_J1754.7+3444_monthly_bin94.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/976253/Model_4FGL_J1754.7+3444_monthly_bin94.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) = 95073.6683324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10668E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .86023       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.7884       1.0000         .10000E-03   10000.    
     4 'norm      '    1.6122       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.254       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10801E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.8230       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.5251       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.634       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.1400       1.0000         .10000E-03   10000.    
    14 'norm      '    .86551       1.0000         .10000E-03   10000.    
    15 'norm      '    41.378       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.1583       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.7797       1.0000         .10000E-03   10000.    
    19 'Prefactor '    30.058       1.0000         .10000E-03   10000.    
    20 'norm      '    12.232       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.9503       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.0039       1.0000         .10000E-03   10000.    
    24 'norm      '    4.1998       1.0000         .10000E-03   10000.    
    25 'Prefactor '    9.0810       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1300       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .94793       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   95073.56     FROM MIGRAD    STATUS=CONVERGED     71 CALLS     2313 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.3082       -.10447E-05** at limit **
   2  norm          .86029        .48869       -.18049E-07    .16250E-03
   3  Prefactor     3.7881        1.0098        .44084E-07   -.17811E-03
   4  norm          1.6129        1.0916        .46799E-07   -.12901E-03
   5  Prefactor     11.247        1.1053       -.13779E-06    .25899E-02
   6  Prefactor     .10000E-03    34.601        .49812E-06** at limit **
   7  Prefactor     5.8247        1.0250       -.16365E-06    .11951E-02
   8  Prefactor     .10000E-03    2.2447        .74608E-07** at limit **
   9  Prefactor     4.5253        2.2090        .11036E-05    .81645E-03
  10  Prefactor     .10000E-03    7.3268        .47861E-06** at limit **
  11  Prefactor     13.636        1.0178        .34110E-07   -.68299E-03
  12  Prefactor     .10000E-03    1.2065        .14209E-05** at limit **
  13  norm          1.1400        .46406       -.23458E-07   -.75738E-03
  14  norm          .85519        1.4143        .13105E-05   -.11771E-02
  15  norm          41.378        1.0249        .22123E-07    .11778E-02
  16  Prefactor     .10000E-03    .66462       -.15285E-07** at limit **
  17  norm          1.1589        1.0585        .21048E-07    .25396E-03
  18  Prefactor     3.7798        1.2332        .46910E-07    .28123E-03
  19  Prefactor     30.057        1.0020        .14341E-07   -.10537E-02
  20  norm          12.232        1.0013       -.23582E-08   -.54725E-03
  21  Prefactor     4.9499        2.3779       -.20353E-05   -.20599E-02
  22  norm          .10000E-03    2.3192        .40836E-06** at limit **
  23  norm          3.0039        1.2227        .14460E-07   -.17169E-05
  24  norm          4.1998        .91429        .12583E-06    .32318E-03
  25  Prefactor     9.0806        1.0019       -.12911E-08    .16813E-04
  26  Normalizat    1.1300        .71304E-01   -.28939E-06   -.82221E-04
  27  Prefactor     .94796        .35315E-01    .21735E-06   -.32741E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100003
  norm       = 0.860287
  Prefactor  = 3.78815
  norm       = 1.6129
  Prefactor  = 11.2471
  Prefactor  = 0.000100004
  Prefactor  = 5.82468
  Prefactor  = 0.0001
  Prefactor  = 4.52529
  Prefactor  = 0.0001
  Prefactor  = 13.6359
  Prefactor  = 0.000100004
  norm       = 1.13998
  norm       = 0.855194
  norm       = 41.3781
  Prefactor  = 0.0001
  norm       = 1.15892
  Prefactor  = 3.77981
  Prefactor  = 30.0572
  norm       = 12.232
  Prefactor  = 4.9499
  norm       = 0.000100002
  norm       = 3.00391
  norm       = 4.19981
  Prefactor  = 9.08062
  Normalizat = 1.12995
  Prefactor  = 0.947958
 **********
 **   18 **HESSE 
 **********

 FCN=   95073.56     FROM HESSE     STATUS=OK           566 CALLS     2879 TOTAL
                     EDM=   .41E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .39169        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .86029        .50013        .12663E-01   -1.5522    
   3  Prefactor     3.7881        6.3219        .51849E-02   -1.5319    
   4  norm          1.6129        1.1315        .83388E-03   -1.5454    
   5  Prefactor     11.247        16.193        .29856E-02   -1.5037    
   6  Prefactor     .10000E-03    34.419        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.8247        4.5408        .41608E-02   -1.5225    
   8  Prefactor     .10000E-03    2.2462        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.5253        2.2504        .47314E-02   -1.5282    
  10  Prefactor     .10000E-03    7.2563        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.636        14.246        .27119E-02   -1.4969    
  12  Prefactor     .10000E-03    .33407        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.1400        .47517        .10889E-01   -1.5494    
  14  norm          .85519        3.8374        .19835       -1.5523    
  15  norm          41.378        3.7669        .15579E-02   -1.4421    
  16  Prefactor     .10000E-03    .63623        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.1589        1.0757        .10714E-01   -1.5493    
  18  Prefactor     3.7798        1.2648        .51911E-02   -1.5319    
  19  Prefactor     30.057        6.6921        .18270E-02   -1.4611    
  20  norm          12.232        6.3547        .28633E-02   -1.5008    
  21  Prefactor     4.9499        2.4333        .45190E-02   -1.5263    
  22  norm          .10000E-03    2.6014        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.0039        1.2187        .58547E-02   -1.5361    
  24  norm          4.1998        .92232        .49162E-02   -1.5298    
  25  Prefactor     9.0806        12.321        .33250E-02   -1.5105    
  26  Normalizat    1.1300        .63342E-01    .76889E-01   -.88796    
  27  Prefactor     .94796        .30286E-01    .45613E-01   -.94485    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.05526e-07
Minuit parameter uncertainties:
  1  6.26355e-05
  2  0.500134
  3  6.32301
  4  1.13154
  5  16.1997
  6  0.000710643
  7  4.54108
  8  2.1326e-05
  9  2.25046
  10  9.4619e-05
  11  14.2493
  12  7.30467e-05
  13  0.475173
  14  3.62328
  15  3.76697
  16  4.60036e-07
  17  1.07576
  18  1.26484
  19  6.69223
  20  6.35508
  21  2.43337
  22  0.000145909
  23  1.21874
  24  0.922326
  25  12.3246
  26  0.0633458
  27  0.030287
Done.

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

Extracting fit parameters...

4FGL J1754.7+3444
   Spectrum: LogParabola
349         norm:  8.552e-01  3.623e+00  1.000e-04  1.000e+04 ( 1.000e-13)
350        alpha:  2.477e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
351         beta:  3.580e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
352           Eb:  7.201e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  9.480e-01  3.029e-02  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  1.130e+00  6.335e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 268.679 34.742
Photon Flux Upper Limit: 1.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.81e-06 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/976253/likelihoodResults_480643201_483235201_4FGL_J1754.7+3444_monthly_bin94.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) = 95073.0501191
delta logL = 0.510584578733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 95072.9845827
delta logL = 0.576120978629

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0701       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1069       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95416       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6770E+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=   95072.98     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      307 TOTAL
                     EDM=   .72E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0698        1.0771        .27864E-03   -.16190E-03
   2  alpha         5.0000        .94925        .50000    ** at limit **
   3  Normalizat    1.1069        .74112E-01    .34347E-03   -.75202E-04
   4  Prefactor     .95416        .35236E-01    .18000E-03   -.81853E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.06975
  alpha      = 5
  Normalizat = 1.10688
  Prefactor  = 0.954157
 **********
 **   18 **HESSE 
 **********

 FCN=   95072.98     FROM HESSE     STATUS=OK            29 CALLS      336 TOTAL
                     EDM=   .82E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0698        1.0706        .11146E-04   -1.5501    
   2  alpha         5.0000        .93971        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1069        .74191E-01    .13739E-04   -.89531    
   4  Prefactor     .95416        .35268E-01    .72001E-05   -.94274    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.17479e-12
Minuit parameter uncertainties:
  1  1.07061
  2  3.50205e-06
  3  0.0741979
  4  0.0352686
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/976253': 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) = 95072.9845819
delta logL = 0.576121721984

Extracting fit parameters...

4FGL J1754.7+3444
   Spectrum: LogParabola
349         norm:  1.070e+00  1.071e+00  1.000e-04  1.000e+04 ( 1.000e-13)
350        alpha:  5.000e+00  3.502e-06  0.000e+00  5.000e+00 ( 1.000e+00)
351         beta:  3.580e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
352           Eb:  7.201e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  9.542e-01  3.527e-02  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  1.107e+00  7.420e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.25
Ra Dec: 268.679 34.742
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.82e-08 +/- 1.82e-08
Energy Flux (Free Index): 2.68e-06 +/- 2.68e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/976253/cmap_HighResolution_480643201_483235201_4FGL_J1754.7+3444_monthly_bin94.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.81e-06', comment='SUCCESS', energy_flux2='2.68e-06', dlogl='5.76e-01', photon_flux2='1.82e-08', job_status='DONE', time_completed='2021-11-01 05:14:50.474160', photon_index_error2='0.00', photon_index2='5.00', ts='0.01', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.42e-08', energy_flux_error2='2.68e-06', EG='1.13', time_epoch_completed='1635768890.47', return_code='0', job_id='976253', GAL2='0.95', EG2='1.11', return_code2='0', photon_flux_error2='1.82e-08', ts2='1.25', photon_index='2.48' WHERE bin_id='94' AND source_name='4FGL J1754.7+3444' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Mon Nov  1 05:14:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 976253: <4FGL_J1754.7+3444_monthly_bin94> in cluster <slac> Done

Job <4FGL_J1754.7+3444_monthly_bin94> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Nov  1 02:10:16 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Nov  1 02:11:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Nov  1 02:11:44 2021
Terminated at Mon Nov  1 05:55:27 2021
Results reported at Mon Nov  1 05:55:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1754.7+3444_monthly_bin94 268.679 34.7417 480643201 483235201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1754.7+3444 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   7517.00 sec.
    Max Memory :                                 632 MB
    Average Memory :                             354.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10915 sec.
    Turnaround time :                            13511 sec.

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

